App Builder

Built-in AI Capabilities

Built-in AI Capabilities - Opulent documentation

Built-in AI Capabilities

Embed AI features directly into your applications — text generation, image analysis, embeddings, and agents

What it is

Built-in AI Capabilities let you add AI features to any application you build with Opulent — text generation, image analysis, embeddings for semantic search, and full agent workflows — through natural language instructions.


AI Features You Can Add

Text Generation

"Add a 'Improve Writing' button to each post editor.
When clicked, the current draft is sent to an AI API and the improved
version replaces the draft. Show a diff before accepting."
"Add an AI-powered search that understands natural language queries,
not just exact keyword matches."

Image Analysis

"Allow users to upload a product photo. The app analyzes it and
auto-fills the product title, description, and suggested category."
"Add a receipt scanner — users upload a photo of a receipt and
the app extracts merchant, date, amount, and category automatically."
"Add semantic search to the knowledge base — users can search with
natural language and find relevant articles even without exact keyword matches."
"Add a 'Similar items' feature to the product catalog using vector embeddings."

Streaming Responses

"The AI writing assistant should stream the response word by word,
like ChatGPT — don't wait for the full response before showing output."

Embedded Agent Workflows

"Add a 'Research' button. When clicked, the user's input is sent to
an Opulent agent that researches the topic and streams the result back
into the document editor."

AI Models Available

Use CaseDefault ModelNotes
Text generationMiniMax M2.5 (Fireworks)Fast, high-quality
Long-form writingClaude Sonnet 4.6Deep reasoning
Image analysisGemini FlashReliable vision
Image generationFAL.ai (Nano Banana Pro)High quality
Embeddingstext-embedding-3-largeSemantic search

Specify a different model if needed:

"Use Claude for the writing assistant — we need the highest quality"

AI Usage in Your App

AI usage in your application is billed separately through your Opulent account. Your app users consume AI features via your plan's credits.

For user-facing AI features with high volume, specify rate limits:

"Limit the AI assistant to 10 requests per user per day on the free plan,
unlimited on paid plans."

Common Questions

Do I need separate OpenAI or Anthropic API keys? No. AI capabilities route through Opulent's managed provider connections. No additional accounts needed.

Can I use my own API keys? Yes: "Use my OpenAI API key for the text generation feature" — provide the key and Opulent wires it in.

Can my app users bring their own API keys? Yes: "Allow users to enter their own OpenAI API key in settings, which overrides the default".

How do I control AI costs in my app? Specify per-user limits and usage throttles. Opulent builds the rate limiting logic into the app.