Generate Social Media Ad Images for FB/IG/Pinterest with Google Gemini Imagen
Go to WorkflowDescription
Purpose & Audience
Perfect for marketing teams, agencies, solopreneurs, and e-commerce brands who need fast, professional-quality ad creatives — without hiring designers or using Canva. This workflow automates image generation for Facebook, Instagram, and Pinterest using Google’s Imagen 3.0 (via Gemini API).
What It Does
Presents a user-friendly form to collect:
Business context
Offer/message
Brand colors
Target platform (FB/IG/Pinterest)
Desired ad dimensions (7 formats supported)
Uses Google Gemini’s Imagen 3.0 model to generate platform-optimized images
Delivers each image directly to your Telegram chat with clear captions
✅ Supports 7 ad formats:
Facebook Feed (1200×630)
Facebook Story (1080×1920)
Instagram Feed (1080×1080)
Instagram Story & Reel (1080×1920)
Pinterest Pin (1000×1500)
Pinterest Story (1080×1920)
How to Set Up
Get a Google Gemini API key at ai.google.dev (enable Imagen API)
Create a Telegram bot via @BotFather and note your Bot Token + Chat ID
In n8n:
Import this workflow
Add Google Gemini credentials (use your API key)
Add Telegram credentials (use your Bot Token)
Replace ={{ $json.telegramChatId }} in Telegram nodes with your actual numeric Chat ID
Activate the workflow and share the Form Trigger URL with your team!
💡 Pro Tip: Enhance prompts in Gemini nodes with style keywords (e.g., “minimalist”, “vibrant”, “corporate”) for better results.
✨ 100% free to use — only pay for Google Imagen API usage. Telegram delivery is free forever.