Nano Banana 2.1 API

Nano Banana 2.1 is an update to Nano Banana 2 (Gemini 3.1 Flash Image) for fast image generation and conversational editing, with improved visual quality and text rendering.

Modalities
TextImage
In / Out price
$1.5/$30per 1M
Resolution
Up to 4K
Released
Oct 6, 2026

Nano Banana 2.1 overview

Resolution
Aspect ratio
Sample Nano Banana 2.1 image generated through AI/ML API: A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lette

Nano Banana 2.1 by Google

Nano Banana 2.1 is an update to Nano Banana 2 (Gemini 3.1 Flash Image) for fast image generation and conversational editing, with improved visual quality, text rendering, multi-turn consistency and Google Search grounding at 1K, 2K and 4K.

Nano Banana 2.1 specs

Model ID
google/gemini-nano-banana-2.1
Developer
Google
Input
Text
Output
Image
Endpoint
POST https://api.aimlapi.com/v1/images/generations

What Is Nano Banana 2.1 API?

Nano Banana 2.1 is an update to Nano Banana 2 (Gemini 3.1 Flash Image) for fast image generation and conversational editing, with improved visual quality, text rendering, multi-turn consistency and Google Search grounding at 1K, 2K and 4K.

Technical Reference

DeveloperGoogle
Model IDgoogle/gemini-nano-banana-2.1
ModalitiesText → Image
Resolutions1K, 2K, 4K
Released6 October 2026
EndpointPOST /v1/images/generations

What Nano Banana 2.1 Brings to the Table

Conversational editing
An image can be adjusted across turns rather than regenerated from scratch each time.

Text rendering
Improved over Nano Banana 2, which is the usual failure point in generated design work.

Search grounding
Google Search grounding for subjects that have to match something real.

Resolution you choose
1K, 2K and 4K output, billed at the standard rate, 1.5x and 2x respectively.

Where Nano Banana 2.1 Makes the Most Sense

Design with text in it
Posters, covers and ads where legible typography decides whether the asset is usable.

Iterative work
Multi-turn consistency keeps a look stable while a detail is refined over several passes.

Sources: https://ai.google.dev/gemini-api/docs/models · https://fal.ai/models/google/nano-banana-2.1

Use cases

  • Marketing visuals: campaign imagery generated to a brief, at up to 4K.
  • Typography-led design: posters and covers, where Google cites improved text rendering.
  • Series and variations: multi-turn consistency keeps a look stable across a set.
  • Grounded imagery: optional web search for subjects that need to match something real.

Nano Banana 2.1 benchmarks by Artificial Analysis

Human-preference results for Nano Banana 2.1 in text to image, next to models available on AI/ML API. Data retrieved Nov 4, 2026.

Text to image

Elo · text-to-image arena

Models on AI/ML API

Arena results for models you can call with the same API key.

Text to image

Blind pairwise human votes on images generated from text prompts. Nano Banana 2.1 ranks #4 of 98.

Nano Banana 2.1 API pricing

Nano Banana 2.1 pricing in US dollars
UsagePriceUnit
Input$1.51M tokens
Output$301M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Nano Banana 2.1 vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Nano Banana 2.1$1.5$30
GPT Image 2.5 Flare$5$30
GPT Image 2.5 Sunburst$5$30
GPT Image 2$5$30
GPT Image 1.5$5$32

How to use the Nano Banana 2.1 API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "google/gemini-nano-banana-2.1",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'

Related articles

All posts

Nano Banana 2.1 FAQ

What is Nano Banana 2.1?

Nano Banana 2.1 is Google's image model. It generates images from text prompts, and Google describes it as a high-efficiency image generation and editing model with improved visual quality, typography and multi-turn consistency.

Which resolutions does Nano Banana 2.1 support?

0.5K (512px), 2K and 4K, set through the resolution parameter. Aspect ratio is adjustable.

How much does Nano Banana 2.1 cost?

Nano Banana 2.1 costs $1.5 input and $30 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Can Nano Banana 2.1 use web search?

Yes, web search grounding is an optional parameter, as is high thinking. Both are off by default.

How is Nano Banana 2.1 different from Nano Banana 2.1 Edit?

Nano Banana 2.1 generates an image from a text prompt alone. Nano Banana 2.1 Edit takes reference images and transforms them from text instructions. They are separate endpoints at the same price.

What is the Nano Banana 2.1 model ID?

Use google/gemini-nano-banana-2.1 as the model parameter. Requests go to https://api.aimlapi.com/v1/images/generations with your AI/ML API key.

Start building with Nano Banana 2.1

Nano Banana 2.1 API

google/gemini-nano-banana-2.1

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/images/generations' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "google/gemini-nano-banana-2.1",
  "prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'