Templates / Generate marketing ad banners with LINE, Gemini, and Nano Banana Pro

Generate marketing ad banners with LINE, Gemini, and Nano Banana Pro

Ready for 3.0

by Masaki Go ✓ · 8,753 views · created 2025-11-25 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (6)

Google GeminiAWS S3

What it does

About This Template This workflow creates high-quality, text-rich advertising banners from simple LINE messages. It combines Google Gemini (for marketing-focused prompt engineering) and Nano Banana Pro (accessed via Kie.ai API) to generate images with superior text rendering capabilities. It also handles the asynchronous API polling required for high-quality image generation. How It Works 1. Input: Users send a banner concept via LINE (e.g., "Coffee brand, morning vibe"). 2. Prompt Engineering: Gemini optimizes the request into a detailed prompt, specifying lighting, composition, and Japanese catch-copy placement. 3. Async Generation: The workflow submits a job to Nano Banana Pro (Kie API) and intelligently waits/polls until the image is ready. 4. Hosting: The final image is downloaded and uploaded to a public AWS S3 bucket. 5. Delivery: The image is pushed back to the user on LINE. Who It’s For Marketing teams creating A/B test assets. Japanese market advertisers needing accurate text rendering. Developers looking for an example of Async API Polling patterns in n8n. Requirements n8n (Cloud or Self-hosted). Kie.ai API Key (for Nano Banana Pro model). Google Gemini API Key. AWS S3 Bucket (Public access enabled). LINE Official Account (Messaging API). Setup Steps 1. Credentials: Configure the "Header Auth" credential for the Kie.ai nodes (Header: Authorization, Value: Bearer YOURAPIKEY). 2. AWS: Ensure your S3 bucket allows public read access so LINE can display the image. 3. Webhook: Add the production webhook URL to your LINE Developers console.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.