{"slug":"ad-designer","title":"ad-designer","tags":["site-building","frontend","images","ads"],"agent_summary":"Generate professional Meta/social ad creatives using AI image generation. Routes to Nano Banana Pro (Gemini) for text-heavy ads and FLUX Pro for photorealistic imagery.","trigger_phrases":["ad-designer","ad creative","social ad image","meta ad","campaign image","ad image","generate ad"],"runnable":true,"markdown":"**Trigger:** Use when \"ad creative\", \"social ad image\", \"Meta ad\", \"campaign image\". Generates ad images via AI from brand briefs.\n\n### Image Model Routing\n\n| Model | Best For | Cost |\n|---|---|---|\n| Nano Banana Pro (Gemini) `gemini-3-pro-image-preview` | Text-heavy ads, iterative editing, text rendering | Via GEMINI_API_KEY |\n| FLUX.2 Pro (fal.ai) | Photorealistic imagery, product photography, no text | ~$0.05/MP via FAL_API_KEY |\n| FLUX Schnell (fal.ai) | Fast bulk generation, rapid iterations | ~$0.003/MP |\n| Nano Banana (Gemini) `gemini-2.5-flash-image` | Quick drafts, conversational refinement | Cheapest Gemini |\n\nDefault to Nano Banana Pro for ads with text overlays. Use FLUX.2 Pro for photorealistic lifestyle/product imagery without text. NEVER use Unsplash or external stock photo URLs.\n\n### Aspect Ratios\n\n| Ratio | Dimensions | Use Case |\n|---|---|---|\n| 1:1 | 1080×1080 | Feed (universal — default) |\n| 4:5 | 1080×1350 | Feed (recommended) |\n| 9:16 | 1080×1920 | Stories/Reels |\n| 16:9 | 1920×1080 | Landscape |\n\nDefault to 1:1 unless brief specifies otherwise — it works everywhere.\n\n### Prompt Engineering Rules\n\n1. Be explicit about exclusions: \"NO logos. NO brand names. NO watermarks. NO additional text.\"\n2. Specify exact text: \"The ONLY text on the image should be exactly: [your text here]\"\n3. Include aspect ratio in the prompt\n4. Keep prompts focused — separate layout from content from style\n\n### Prompt Template\n\n```\nGenerate a [aspect ratio] image.\n\n[Background/setting description]\n\nThe ONLY text should be exactly:\n- Line 1: \"[text]\" in [color] [size]\n- Line 2: \"[text]\" in [color] [size]\n\n[Visual elements — icons, mockups, etc.]\n\nStyle: [clean/minimal/warm/professional/etc.]\nColors: [hex values or descriptors]\nNO logos. NO additional text. NO watermarks.\n```\n\n### API Keys\n\nAll keys in `D:\\Ecosystem\\secrets\\MASTER_API_KEYS.env`:\n- `GEMINI_API_KEY` — Nano Banana (Gemini)\n- `FAL_API_KEY` — FLUX models via fal.ai\n\n---\n","html":"<p><strong>Trigger:</strong> Use when \"ad creative\", \"social ad image\", \"Meta ad\", \"campaign image\". Generates ad images via AI from brand briefs.</p>\n<h3>Image Model Routing</h3>\n<p>| Model | Best For | Cost |\n|---|---|---|\n| Nano Banana Pro (Gemini) <code>gemini-3-pro-image-preview</code> | Text-heavy ads, iterative editing, text rendering | Via GEMINI_API_KEY |\n| FLUX.2 Pro (fal.ai) | Photorealistic imagery, product photography, no text | ~$0.05/MP via FAL_API_KEY |\n| FLUX Schnell (fal.ai) | Fast bulk generation, rapid iterations | ~$0.003/MP |\n| Nano Banana (Gemini) <code>gemini-2.5-flash-image</code> | Quick drafts, conversational refinement | Cheapest Gemini |</p>\n<p>Default to Nano Banana Pro for ads with text overlays. Use FLUX.2 Pro for photorealistic lifestyle/product imagery without text. NEVER use Unsplash or external stock photo URLs.</p>\n<h3>Aspect Ratios</h3>\n<p>| Ratio | Dimensions | Use Case |\n|---|---|---|\n| 1:1 | 1080×1080 | Feed (universal — default) |\n| 4:5 | 1080×1350 | Feed (recommended) |\n| 9:16 | 1080×1920 | Stories/Reels |\n| 16:9 | 1920×1080 | Landscape |</p>\n<p>Default to 1:1 unless brief specifies otherwise — it works everywhere.</p>\n<h3>Prompt Engineering Rules</h3>\n<ol>\n<li>Be explicit about exclusions: \"NO logos. NO brand names. NO watermarks. NO additional text.\"</li>\n<li>Specify exact text: \"The ONLY text on the image should be exactly: [your text here]\"</li>\n<li>Include aspect ratio in the prompt</li>\n<li>Keep prompts focused — separate layout from content from style</li>\n</ol>\n<h3>Prompt Template</h3>\n<pre><code>Generate a [aspect ratio] image.\n\n[Background/setting description]\n\nThe ONLY text should be exactly:\n- Line 1: \"[text]\" in [color] [size]\n- Line 2: \"[text]\" in [color] [size]\n\n[Visual elements — icons, mockups, etc.]\n\nStyle: [clean/minimal/warm/professional/etc.]\nColors: [hex values or descriptors]\nNO logos. NO additional text. NO watermarks.\n</code></pre>\n<h3>API Keys</h3>\n<p>All keys in <code>D:\\Ecosystem\\secrets\\MASTER_API_KEYS.env</code>:</p>\n<ul>\n<li><code>GEMINI_API_KEY</code> — Nano Banana (Gemini)</li>\n<li><code>FAL_API_KEY</code> — FLUX models via fal.ai</li>\n</ul>\n<hr>\n"}