Skip to main content

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

Workflow preview

Workflow preview
100%
Generate marketing ad banners with LINE, Gemini, and Nano Banana Pro preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.webhook, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.wait, n8n-nodes-base.awss3

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Masaki Go.

Original n8n.io source

1.1 Workflow description

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

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 YOUR_API_KEY).
  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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Main Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Check Job Status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note 4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note 5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - LINE Webhook1

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 1

Block 7 - Extract Data1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 1

Block 8 - Optimize Prompt (Marketing)1

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 9 - Submit to Nano Banana Pro1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 10 - Wait1

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 11 - Wait for Generation1

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1

Block 12 - Parse Result1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 1

Block 13 - Download Image1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 14 - Upload to S

Type / Role
n8n-nodes-base.awsS3 - awsS3
Config choices
Version 2

Block 15 - HTTP Request2

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Code1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

3. Summary Table

Workflow Generate marketing ad banners with LINE, Gemini, and Nano Banana Pro
Complexity advanced
Nodes 16
Categories Content Creation, Multimodal AI
Author Masaki Go
Published 25 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11205/11205.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate marketing ad banners with LINE, Gemini, and Nano Banana Pro do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.