AI features for your app
Normally, adding AI to an app means choosing a provider, managing API keys, setting up billing, and wiring model calls into your backend. Lovable AI handles that setup for you. Describe the feature you want and Lovable builds it.
Tip
Not the same as the Lovable agent
These AI features run inside your deployed app. They are separate from the Lovable agent that helps you build and edit your project in chat.
What you can build
- Summaries: condense long text into clear takeaways
- Chatbots and assistants: conversational helpers in your app
- Document Q&A: users ask questions against your content
- Translation and sentiment: multilingual apps and feedback at scale
- Image and document analysis: extract and interpret unstructured content
- Semantic search and RAG: search by meaning, not just keywords
- Text-to-speech and speech-to-text: read aloud, voice input, transcription
- Workflow automation: multi-step AI tasks inside your app
How it works
LOVABLE_API_KEY
Lovable generates and manages the API key per project automatically. You never paste provider keys yourself.
Secure backend calls
AI calls run through an edge function Lovable creates for you. Nothing sensitive runs directly from the browser.
Streaming
Chat and assistant features stream token by token so responses feel instant.
Enable it
- 1
Open Lovable AI settings
Go to Connectors → App connectors → Lovable AI → Manage permissions.
- 2
Choose permission level
Always allow (automatic), Ask each time (approve per project), or Never allow (blocks AI features).
- 3
Use with Lovable Cloud
For the best experience, enable Lovable Cloud so your app has the backend needed for secure model calls.
Pick a starting model (or let Lovable choose)
- Chat and assistants: Gemini 3 Flash Preview (default)
- High-volume simple text: Gemini 3.1 Flash Lite or GPT-5 Nano
- Image generation: GPT Image 2
- Semantic search / RAG: Gemini Embedding 001
- Voice: GPT-4o Mini TTS and GPT-4o Mini Transcribe
Tip
For your Week 1 assignment
You need at least one live AI feature on your published URL. Try: "Add a chatbot that answers from my help docs" or "Summarise this user input." See AI features for your app for the full model list.
Monitor usage under Cloud → AI. Free, Pro, and Business plans include a monthly AI grant for gateway usage in deployed apps.
Go deeper (optional)