LogoMkSaaS Docs

AI

Learn how to set up and use AI features

This guide will help you set up and use AI features.

AI Chat Bot

AI Chat Bot is a feature that allows you to chat with AI.

Environment Variables

Get your AI Gateway key from Vercel, and set it in the environment variables.

VariableDescription
AI_GATEWAY_KEYAI Gateway key

Demo

Visit the AI Chat Bot page to see the demo, it supports chatting with AI models.

ai-chat-bot

AI Text Generator

The AI Text Generator is a feature that allows you to generate text using AI.

Environment Variables

Get your API keys from the following providers, and set them in the environment variables.

VariableDescription
OPENAI_API_KEYAPI key for OpenAI
GOOGLE_GENERATIVE_AI_API_KEYAPI key for Google Generative AI
DEEPSEEK_API_KEYAPI key for DeepSeek
OPENROUTER_API_KEYAPI key for OpenRouter

Demo

Visit the AI Text Generator page to see the demo, it supports scraping any website content, and using AI models to summarize the content.

ai-text-generator

AI Image Generator

The AI Image Generator is a feature that allows you to generate images using AI.

Environment Variables

Get your API keys from the following providers, and set them in the environment variables.

VariableDescription
FAL_API_KEYAPI key for FAL
FIREWORKS_API_KEYAPI key for Fireworks
OPENAI_API_KEYAPI key for OpenAI
REPLICATE_API_TOKENAPI key for Replicate

Demo

Visit the AI Image Generator page to see the demo, it supports generating images using various AI models based on prompts.

ai-image-generator

Video Tutorial

Next Steps

While this guide is under construction, explore these related topics: