AI Caption Models
Overview
AI Caption Models allows administrators to configure which large language model (LLM) is used when users generate AI-powered captions in the Social Media Studio. Admins can register multiple models from different providers (currently Gemini and OpenAI), assign credit costs per generation, control which model is the platform default, and enable or disable individual models without deleting them.
1. Model List
The AI Caption Models page displays all configured models in a table or card grid. Each entry shows the model name, provider, credit cost, default status, and active toggle. Admins can click Add Model to register a new one or click the edit icon on an existing model to update its configuration.
[Image Placeholder: AI Caption Models List]
Shows the configured models table with provider, credit cost, default badge, and status toggles.
2. Adding / Editing a Model
Clicking Add Model or the edit icon opens a dialog with the following fields:
| Field | Required | Description |
|---|---|---|
| Model Name | Yes | A friendly display name (e.g., "Gemini 2.0 Flash"). Shown to users in the caption generation modal. |
| Model ID | Yes | The API model identifier (e.g., gemini-2.0-flash or gpt-4o).
Cannot be changed after creation. |
| Provider | Yes | Select from Gemini or OpenAI. Cannot be changed after creation. Determines which API endpoint is called. |
| API Key | Yes | The API key for the selected provider. Stored securely. When editing, leave blank to keep the existing key. |
| Credit Cost | Yes | Number of credits deducted from a user's balance per caption generation request. Minimum: 1. |
| Max Output Tokens | No | Maximum token count for the generated caption output. Defaults to 500 if not specified. |
| Description | No | Internal admin notes about this model — not shown to end users. |
| Set as Default | No | Makes this model the platform default used when a user generates an AI caption. |
| Active | No | Enables or disables this model. Inactive models are hidden from the caption generation modal. |
[Image Placeholder: Add / Edit AI Caption Model Dialog]
Shows the model configuration dialog with all form fields, API key masking, and the set-as-default toggle.
- Supports Gemini and OpenAI providers with their respective model IDs.
- Credit cost is configurable per model, giving full control over usage billing.
- One model can be set as the platform default for all caption generation requests.
- API keys are stored securely and masked after entry — leave blank when editing to preserve the existing key.
What's Next?
Continue exploring admin module features.