Nano Banana Image Generator

This workflow provides a paid-tier AI image generation solution using Google Gemini 2.5 Flash Image Preview (Nano Banana) for text-to-image and image editing capabilities. The Webhook node accepts POST requests with a text prompt, optional base64-encoded input image, and a paid Gemini API key, a Code node validates inputs, another Code node processes the request via Gemini Nano Banana, and a response node formats the output with metadata. Ideal for teams needing high-quality image generation, suitable for businesses with 5-50 members.\n\nThis workflow saves 8-12 hours weekly for teams generating 200+ images monthly, delivering professional-grade results at $0.039 per image. Use cases include marketing asset creation, design prototyping, or creative content generation. Requires n8n (free self-hosted or cloud from $20/month). Scalable to thousands of images daily with paid-tier limits.\n\nThis workflow requires n8n setup via n8n.io download or cloud.n8n.io signup. Import JSON, configure Webhook with POST and path 'devhubconnect-nano-banana,' and integrate with your application. Include required data in the request: text prompt, paid Gemini API key (from ai.google.dev), and optional base64-encoded input image (under 20MB). Test with a sample payload (e.g., {textPrompt: 'Create a futuristic cityscape', apiKey: 'your-paid-gemini-key', imageBase64: 'data:image/jpeg;base64,...'}).\n\nThis workflow’s testing uses Postman with sample payloads. Verify image generation and response in n8n logs. Common errors: invalid API key (regenerate at ai.google.dev), missing prompt (include textPrompt), or rate limits (check paid-tier quotas). Activate in production, monitor n8n dashboard. Maintain by checking logs weekly and ensuring API key validity.\n\nNo Variables Needed: All required data (Gemini API key, text prompt, optional input image) must be included in the request payload. No environment variables are required, simplifying setup for paid-tier users.", "businessValue": "Saves 8-12 hours/week generating 200+ AI-enhanced images monthly at $0.039/image", "setupTime": "20-30 minutes", "difficulty": "Intermediate", "requirements": ["n8n instance (free self-hosted or cloud from $20/month)"], "useCase": "Paid-tier AI image generation and editing for marketing and creative content"

$5.49

Workflow steps: 4

Integrated apps: webhook, code, respondToWebhook

Nano Banana Image Generator preview