AI settings
Configure ChatGPT (OpenAI) or Gemini for text drafts, and ChatGPT for image generation. Super-admin only.
Step 1 API keys
Two providers, two accounts, two keys. One OpenAI key is enough — it powers both ChatGPT text and ChatGPT image generation.
Step 2 Text generation
Pick which provider drives the ✨ AI button in the post editor. You can swap any time.
Step 3 Image generation
Pick the image provider — OpenAI (DALL-E / GPT Image 1) or Google Gemini (Imagen 3). Both use the key you saved in Step 1. Generated images land in
/storage/ai_generated.
What you can do once connected
- Generate post drafts — open any post, click ✨ AI, type a topic.
- Match brand voice — the active provider reads each project's notes + last 3 posts as style reference.
- Generate images — in the post editor, click 🎨 Generate image and describe what you want; result auto-fills the media field.
Security
- Keys are encrypted at rest (Laravel
encryptedcast keyed offAPP_KEY). - The API never returns saved keys — only whether one is set.
- Only super-admins can read/write this page.
Rough cost
- Gemini Flash text → effectively free for typical agency volume.
- GPT-4o-mini text → ~₹0.05 per post.
- gpt-image-1 image → ~₹2 (low), ₹4 (medium), ₹15 (high) at 1024×1024.