[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Nano Banana 2](https://spiral.ai/integrations/n8n/nano-banana-2)

# How to Use Nano Banana 2 in n8n

Nano Banana 2 creates images and revises existing artwork through conversation. It covers both tasks in one model, while Nano Banana 2 Text to Image and Nano Banana 2 Image Editing organize them separately.

|  |  |
| --- | --- |
| Model | Nano Banana 2 |
| Available through | Gemini, Vertex AI |
| Category | Image |
| Price | $0.0874 per 1K image ($0.0583 at 0.5K, $0.131 at 2K, $0.197 at 4K). Prompt: $0.65 per 1M tokens. Reasoning: $3.90 per 1M tokens. Google Search: $0.0182 per query. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Nano Banana 2 in n8n

- Each Friday, use Nano Banana 2 to make a square educational graphic from the approved science topic. Limit the image to three short labels and collect it for review.
- Every Monday at 9am: generate a product photo with Nano Banana 2: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first.
- Make four logo concepts for a coffee brand called "Northline" with Nano Banana 2.
- Create a 16:9 hero image of a quiet mountain cabin at dusk with Nano Banana 2.
- Generate a 9:16 poster with Nano Banana 2 for a jazz night called "Blue Hour", deep navy and brass tones.

## How to set up Nano Banana 2 in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Nano Banana 2 in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Nano Banana 2, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Nano Banana 2**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "gemini",
    "model": "gemini-3.1-flash-image",
    "input": {
      "contents": [
        {}
      ]
    }
  }'
```

Then paste one of the prompts above: n8n finds Nano Banana 2 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## Nano Banana 2 tools and prices

- [Nano Banana 2](https://spiral.ai/tools/gemini/gemini-3.1-flash-image) (Gemini): $0.0874 per 1K image ($0.0583 at 0.5K, $0.131 at 2K, $0.197 at 4K). Prompt: $0.65 per 1M tokens. Reasoning: $3.90 per 1M tokens. Google Search: $0.0182 per query.
- [Nano Banana 2](https://spiral.ai/tools/vertex/gemini-3.1-flash-image) (Vertex AI): $0.0874 per 1K image ($0.0583 at 0.5K, $0.131 at 2K, $0.197 at 4K). Prompt: $0.65 per 1M tokens ($0.065 cached). Reasoning: $3.90 per 1M tokens. Google Search: $0.0182 per query.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| tools |  | — | Grounding with Google Search, the only tool this model takes (web and image search). Set generationConfig.responseModalities to ["TEXT", "IMAGE"]. Every search query the model runs is billed. |
| generationConfig |  | — | Configuration options for model generation and outputs. |
| systemInstruction |  | — | Developer set [system instruction(s)](https://ai.google.dev/gemini-api/docs/system-instructions). |

## What can you do with Nano Banana 2 in n8n?

Produce recurring visual drafts for newsletters, campaigns, and educational posts with Nano Banana 2. An agent running on a schedule can apply a consistent brief and collect the images for review.

### Social campaign artwork

Develop a campaign image from a written brief or revise a supplied draft. Specify the placement, subject, and short headline before working on alternate compositions.

### Educational diagrams

Turn lesson notes into a labeled illustration, or improve an existing diagram. Keep labels brief and check the relationships between illustrated elements.

### Event poster drafts

Create a poster concept or revise supplied artwork around an approved title and date. Keep detailed event information outside the generated image if it requires small lettering.

### Presentation infographics

Build a visual explanation from verified notes or revise an existing slide graphic. Use a few clear labels instead of embedding paragraphs.

### Localized promotional artwork

Start with an existing promotional image and replace its text with approved translated copy. Review wording, line breaks, and retained design details.

### Background revisions

Revise the setting around a supplied subject to explore a different scene. Inspect the subject afterward for unintended changes.

### Illustration style studies

Use a supplied image as the starting point for a different illustration treatment. Compare the results before choosing a direction.

### Lighting revisions

Adjust the lighting in an existing image through a focused editing request. Change one aspect at a time so the result is easier to evaluate.

## Overview

- [Google Gemini](https://spiral.ai/providers/gemini)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## Nano Banana 2 in other agents

- [Amp](https://spiral.ai/integrations/amp/nano-banana-2)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/nano-banana-2)
- [Claude](https://spiral.ai/integrations/claude-desktop/nano-banana-2)
- [Claude Code](https://spiral.ai/integrations/claude-code/nano-banana-2)
- [Cline](https://spiral.ai/integrations/cline/nano-banana-2)
- [Codex](https://spiral.ai/integrations/codex/nano-banana-2)
- [Cursor](https://spiral.ai/integrations/cursor/nano-banana-2)
- [Devin](https://spiral.ai/integrations/devin/nano-banana-2)
- [dots](https://spiral.ai/integrations/dots/nano-banana-2)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/nano-banana-2)
- [Gemini](https://spiral.ai/integrations/gemini/nano-banana-2)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/nano-banana-2)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/nano-banana-2)
- [goose](https://spiral.ai/integrations/goose/nano-banana-2)
- [Grok](https://spiral.ai/integrations/grok/nano-banana-2)
- [Grok Build](https://spiral.ai/integrations/grok-build/nano-banana-2)
- [Hermes](https://spiral.ai/integrations/hermes/nano-banana-2)
- [Instinct](https://spiral.ai/integrations/instinct/nano-banana-2)
- [Manus](https://spiral.ai/integrations/manus/nano-banana-2)
- [Muse](https://spiral.ai/integrations/muse/nano-banana-2)
- [Muse Code](https://spiral.ai/integrations/muse-code/nano-banana-2)
- [Notion](https://spiral.ai/integrations/notion/nano-banana-2)
- [OpenClaw](https://spiral.ai/integrations/openclaw/nano-banana-2)
- [opencode](https://spiral.ai/integrations/opencode/nano-banana-2)
- [Perplexity](https://spiral.ai/integrations/perplexity/nano-banana-2)
- [Raycast](https://spiral.ai/integrations/raycast/nano-banana-2)
- [VS Code](https://spiral.ai/integrations/vscode/nano-banana-2)
- [Windsurf](https://spiral.ai/integrations/windsurf/nano-banana-2)
- [Zapier](https://spiral.ai/integrations/zapier/nano-banana-2)

## More n8n guides

- [Nano Banana](https://spiral.ai/integrations/n8n/nano-banana)
- [Nano Banana 2 Image Editing](https://spiral.ai/integrations/n8n/nano-banana-2-image-editing)
- [NAFNet Denoise](https://spiral.ai/integrations/n8n/nafnet-denoise)
- [Nano Banana 2 Image Editing fal](https://spiral.ai/integrations/n8n/nano-banana-2-image-editing-fal)
- [NAFNet Deblur](https://spiral.ai/integrations/n8n/nafnet-deblur)
- [Nano Banana 2 Lite](https://spiral.ai/integrations/n8n/nano-banana-2-lite)

## Questions about Nano Banana 2 in n8n

**Can n8n use Nano Banana 2?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Nano Banana 2 like any built-in tool.

**How much does Nano Banana 2 cost in n8n?**

$0.0874 per 1K image ($0.0583 at 0.5K, $0.131 at 2K, $0.197 at 4K). Prompt: $0.65 per 1M tokens. Reasoning: $3.90 per 1M tokens. Google Search: $0.0182 per query. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need a Gemini account to use Nano Banana 2 in n8n?**

You need no Gemini account. n8n uses one Spiral API key for every tool, and Spiral runs Nano Banana 2 on its own Gemini account.

**How long does it take to set up Nano Banana 2 in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Which provider runs Nano Banana 2?**

Spiral offers Nano Banana 2 through Gemini and Vertex AI. Name one in your prompt, or let n8n pick.

**Does n8n wait while Nano Banana 2 runs?**

Nano Banana 2 runs in the background. n8n starts the run, checks on it and gives you the image when it's ready.

**What is Nano Banana 2 useful for?**

Use it for visual drafts that combine illustrations and short labels, such as posters, educational diagrams, and infographics. It also supports conversational revisions, so you can develop a design through specific follow-up requests.

**How large can Nano Banana 2 images be?**

Nano Banana 2 supports output from 0.5K through 4K, with 1K as the default. Choose the composition as well as the resolution: square, portrait, landscape, and panoramic formats serve different placements.

**Can Nano Banana 2 handle text inside images?**

It can produce and translate text within artwork, but small lettering and long paragraphs remain weaknesses. Keep image copy short and check the spelling before using the result.

**Will Nano Banana 2 preserve a character exactly?**

Character consistency is imperfect. Compare the face, clothing, and distinguishing details after each revision before accepting a sequence of images.

**Can Nano Banana 2 localize artwork?**

Yes, it can translate and localize text within an image. Give it the intended audience and approved wording, then review the translated artwork before publication.

