Trigger: Use when "ad creative", "social ad image", "Meta ad", "campaign image". Generates ad images via AI from brand briefs.
Image Model Routing
| Model | Best For | Cost |
|---|---|---|
| Nano Banana Pro (Gemini) gemini-3-pro-image-preview | Text-heavy ads, iterative editing, text rendering | Via GEMINI_API_KEY |
| FLUX.2 Pro (fal.ai) | Photorealistic imagery, product photography, no text | ~$0.05/MP via FAL_API_KEY |
| FLUX Schnell (fal.ai) | Fast bulk generation, rapid iterations | ~$0.003/MP |
| Nano Banana (Gemini) gemini-2.5-flash-image | Quick drafts, conversational refinement | Cheapest Gemini |
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.
Aspect Ratios
| Ratio | Dimensions | Use Case | |---|---|---| | 1:1 | 1080×1080 | Feed (universal — default) | | 4:5 | 1080×1350 | Feed (recommended) | | 9:16 | 1080×1920 | Stories/Reels | | 16:9 | 1920×1080 | Landscape |
Default to 1:1 unless brief specifies otherwise — it works everywhere.
Prompt Engineering Rules
- Be explicit about exclusions: "NO logos. NO brand names. NO watermarks. NO additional text."
- Specify exact text: "The ONLY text on the image should be exactly: [your text here]"
- Include aspect ratio in the prompt
- Keep prompts focused — separate layout from content from style
Prompt Template
Generate a [aspect ratio] image.
[Background/setting description]
The ONLY text should be exactly:
- Line 1: "[text]" in [color] [size]
- Line 2: "[text]" in [color] [size]
[Visual elements — icons, mockups, etc.]
Style: [clean/minimal/warm/professional/etc.]
Colors: [hex values or descriptors]
NO logos. NO additional text. NO watermarks.
API Keys
All keys in D:\Ecosystem\secrets\MASTER_API_KEYS.env:
GEMINI_API_KEY— Nano Banana (Gemini)FAL_API_KEY— FLUX models via fal.ai