# Nano Banana 2.1 MCP and API by Google | FlyMy.AI

> Google Nano Banana 2.1 makes and edits images up to 4K with sharper detail and text than Nano Banana 2, and keeps characters steady across edits.

Page: https://flymy.ai/mcp/models/nano-banana-2-1/

MCP / Models / Image generation

# Nano Banana 2.1 MCP: 4K images and edits with no API key

Google Nano Banana 2.1 makes and edits images up to 4K with sharper detail and text than Nano Banana 2, and keeps characters steady across edits. Run it from Claude Code, Codex, Cursor or any MCP client through one FlyMy.AI MCP, or call its API.

[Use Nano Banana 2.1](https://flymy.ai/mcp/models/nano-banana-2-1/#start) [Inputs and price](https://flymy.ai/mcp/models/nano-banana-2-1/#inputs)

No API key, from $0.0336 / image, Text and image to image, Google, Commercial use

$ YOUR NEXT RUN

Claude Code, Codex, Cursor, Any agent

## Use Nano Banana 2.1 in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

```
Read https://flymy.ai/skill.md and https://flymy.ai/mcp/models/nano-banana-2-1.md. Help me connect the FlyMy.AI MCP to this assistant, then run Nano Banana 2.1 (flymyai/nano-banana-2_1) for this task: Generate a 9:16 product photo of a glass perfume bottle on black volcanic sand with Nano Banana 2.1 at 4K.
```

[Open FlyMy.AI](https://app.flymy.ai/new-agent) [Download brief](https://flymy.ai/mcp/models/nano-banana-2-1.md)

## What Nano Banana 2.1 does

Give Nano Banana 2.1 a prompt and up to 14 reference images (image_urls), then choose resolution 1K, 2K or 4K, one of 14 aspect ratios or auto, up to 10 images per run and thinking_level (minimal, medium or high). enable_web_search lets it look things up before drawing, and safety_tolerance runs from 1 to 6.

## Nano Banana 2.1 inputs

Every input of `flymyai/nano-banana-2_1` as its live schema lists them. Returns `images` (array), `description` (string), `token_usage` (string).

| Input | Type, values and default |
|---|---|
| [#](https://flymy.ai/mcp/models/nano-banana-2-1/#input-prompt) `prompt` | string required What to make, or what to change in the reference images |
| [#](https://flymy.ai/mcp/models/nano-banana-2-1/#input-image_urls) `image_urls` | string optional Up to 14 reference images: a JSON array of URLs or one URL |
| [#](https://flymy.ai/mcp/models/nano-banana-2-1/#input-aspect_ratio) `aspect_ratio` | string optional Allowed: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 4:1, 1:4, 8:1, 1:8, auto Default: `auto` auto follows the reference image, else square |
| [#](https://flymy.ai/mcp/models/nano-banana-2-1/#input-resolution) `resolution` | string optional Allowed: 1K, 2K, 4K Default: `1K` $0.0336 per image at 1K, $0.0504 at 2K, $0.1134 at 4K |
| [#](https://flymy.ai/mcp/models/nano-banana-2-1/#input-num_images) `num_images` | integer optional Allowed: 1 to 10 Default: `1` Images per run, each billed |
| [#](https://flymy.ai/mcp/models/nano-banana-2-1/#input-thinking_level) `thinking_level` | string optional Allowed: minimal, medium, high Default: `medium` How hard the model plans the image; thinking tokens are billed |
| [#](https://flymy.ai/mcp/models/nano-banana-2-1/#input-enable_web_search) `enable_web_search` | boolean optional Default: `false` Let the model search the web for facts to draw ($0.014 per search) |
| [#](https://flymy.ai/mcp/models/nano-banana-2-1/#input-safety_tolerance) `safety_tolerance` | integer optional Allowed: 1 to 6 Default: `4` 1 blocks the most, 6 the least |

## Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

**“Generate a 9:16 product photo of a glass perfume bottle on black volcanic sand with Nano Banana 2.1 at 4K.”** runs `flymyai/nano-banana-2_1`

**“Make three versions of a poster for a summer music festival with Nano Banana 2.1 in one run and send me the links.”** runs `flymyai/nano-banana-2_1`

**“Use Nano Banana 2.1 to place the product from the photo I attach on a beach towel by the sea at golden hour.”** runs `flymyai/nano-banana-2_1`

## Nano Banana 2.1 price

From $0.0336 per image, depending on resolution; text and thinking tokens $7.50 per 1M, web search $0.014 per query. A run at the default settings costs $0.0336. A run costs $0.0336 to $1.13, depending on resolution and num_images. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

| Setting | Price |
|---|---|
| resolution 1K | $0.0336 per image |
| resolution 2K | $0.0504 per image |
| resolution 4K | $0.1134 per image |

[See usage pricing →](https://flymy.ai/pricing/)

## Call Nano Banana 2.1 from code

The same model, from an agent or from your own code. Keys stay in your FlyMy.AI account.

### From an agent, through the MCP

The agent calls `get_model_schema`, then `run_model` with:

```
{
  "endpoint_id": "flymyai/nano-banana-2_1",
  "input": {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  }
}
```

### From your code, over HTTP

Form fields, not JSON; files go as uploads or public URLs. The answer is a `prediction_id`; read the result at `https://api.flymy.ai/api/v1/flymyai/nano-banana-2_1/predict/async/result/?request_id=<prediction_id>`.

```
curl -X POST https://api.flymy.ai/api/v1/flymyai/nano-banana-2_1/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=A ceramic mug on a sunlit kitchen counter, product photo'
```

## Questions about Nano Banana 2.1

**Do I need a Google API key for Nano Banana 2.1?**

No. Nano Banana 2.1 runs on FlyMy.AI's account, so you need no Google key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

**How much does Nano Banana 2.1 cost?**

From $0.0336 per image, depending on resolution; text and thinking tokens $7.50 per 1M, web search $0.014 per query. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-09.

**How do I use Nano Banana 2.1 in Claude Code, Codex or Cursor?**

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Generate a 9:16 product photo of a glass perfume bottle on black volcanic sand with Nano Banana 2.1 at 4K." Your agent reads the inputs with get_model_schema and runs flymyai/nano-banana-2_1 with run_model.

**What does Nano Banana 2.1 need as input?**

Nano Banana 2.1 requires prompt; it also takes 7 optional inputs, each listed on this page with its allowed values and default.

**Can I call Nano Banana 2.1 from my own code?**

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/nano-banana-2_1/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

## More image generation models

Text to image: product shots, ads, posters and illustrations from a prompt, many with reference images.

### Nano Banana 2 Lite

The cheapest Nano Banana 2 tier: 1K images in volume with the same prompt understanding.

Text and image to image / from $0.0376 / run

Link: https://flymy.ai/mcp/models/nano-banana-2-lite/

### Nano Banana 2

Gemini 3.1 Image: up to 10 images per run at up to 4K, with optional web search.

Text and image to image / from $0.071 / run

Link: https://flymy.ai/mcp/models/nano-banana-2/

### Nano Banana Pro

Gemini 3 Pro Image for posters, packaging and logos where the words must be right.

Text and image to image / from $0.15 / run

Link: https://flymy.ai/mcp/models/nano-banana-pro/

### Nano Banana

The original Gemini 2.5 image model: quick drafts and conversational edits.

Text and image to image / $0.039 / run

Link: https://flymy.ai/mcp/models/nano-banana/

### Nano Banana 2 Flex

Nano Banana 2 on Google's lower-priced flex tier, for batches where cost matters most.

Text and image to image / from $0.0355 / run

Link: https://flymy.ai/mcp/models/nano-banana-2-flex-inference/

### Imagen 4

Google's standard Imagen 4: realistic images, up to four per run, with SynthID marking.

Text to image / $0.04 / run

Link: https://flymy.ai/mcp/models/imagen-4/

## Go to the source

[Nano Banana 2.1 in the playground →](https://app.flymy.ai/models/flymyai/nano-banana-2_1), [Nano Banana 2.1 guide in the docs →](https://docs.flymy.ai/guides/nano-banana-2-1), [Model endpoints in the docs →](https://docs.flymy.ai/api/models-endpoints), [Image generation guide →](https://docs.flymy.ai/guides/generate-images), [Every model on FlyMy.AI →](https://flymy.ai/mcp/models/), [Every MCP in the catalog →](https://flymy.ai/mcp/#catalog), [Usage pricing →](https://flymy.ai/pricing/)

From the FlyMy.AI model catalog of 2026-11-09: inputs from the model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.

---

For agents: the FlyMyAI operating guide (sign up, connect, run models, tools and agents) is https://flymy.ai/skill.md, and https://flymy.ai/llms.txt lists the other pages and the documentation.
