Skip to content

Nano Banana 2.1

Create images and refine them with a prompt. Choose up to 4K output, bring reference images, and keep text and visual details consistent.

Modalities
Text, Image
Image
Price
$0.104per image
Resolution
1K · 2K · 4K
Released
Oct 6, 2026

Overview

Resolution
Aspect ratio
Sample Nano Banana 2.1 image, not a live result: A woman in a yellow gown reflected on a salt flat beside a distant teal car.

Create a visual, then keep refining it

Nano Banana 2.1 brings image generation and conversational editing into the same model. The update emphasizes text rendering and consistency across edits, making it useful to evaluate for layouts and recurring visual concepts as well as individual images.

Start from a written brief, or supply up to five reference images when the request needs existing visual material. Teams use it to explore alternative scenes for a campaign before final production, and to test headlines and labels in context. Inspect spelling and placement in every generated result before it ships.

Choose the output for its destination

The API supports square, landscape and portrait aspect ratios, with 1K, 2K and 4K output. Use the framing required by your design rather than cropping every result later. Optional web search can add current information when the brief depends on real-world subjects.

Benchmarks by Artificial Analysis

Compare Nano Banana 2.1 on image quality, editing and creator API price.

Text-to-image

Elo · AA-Image-T2I v2.1

Image editing

Elo · AA-Image-Editing v2.1

Creator API price

USD per 1,000 images

List price on each model creator’s API at 1024×1024, not the AI/ML API rate. Our rates are in Pricing

Benchmark results

Compare five models across image generation and editing.

AA-Image-T2I v2.1

Blind pairwise human votes on images generated from text prompts.

Pricing

Nano Banana 2.1 price per image in US dollars
UsagePriceUnit
1K generation$0.104image · standard
2K generation$0.156image · 1.5×
4K generation$0.208image · 2×

Compare image prices

Creator API rates per 1,000 images at 1024×1024; AI/ML API pricing is listed above.

Creator API price in US dollars per 1,000 images, from Artificial Analysis
ModelCreator API price
Nano Banana 2.1$33.60
MAI-Image-2.6$38.90
GPT Image 2.5 SunburstMax setting$210.70
GPT Image 2.5 FlareMax setting$210.70
GPT Image 2High setting$211.00

Build with your agent

Give your agent the model details, code and documentation.

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 minimal ceramic vase on a sunlit stone table, editorial product photography.",
  "resolution": "2K",
  "aspect_ratio": "1:1"
}'

Related articles

All posts

Frequently asked questions

What output sizes can I choose?

The API reference lists 1K, 2K and 4K resolutions, with an adjustable aspect ratio.

Can I provide reference images?

Yes. The AI/ML API request schema accepts up to five image URLs alongside the prompt.

Can the model use web search?

Optional search grounding can help with subjects that need current information.

How does resolution affect the price?

The published standard rate is $0.104 per generation. 2K uses a 1.5× multiplier; 4K uses 2×.

Start building with Nano Banana 2.1

API

API key, code and agent prompt for Nano Banana 2.1.

Build with your agent

Give your agent the model details, code and documentation.

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 minimal ceramic vase on a sunlit stone table, editorial product photography.",
  "resolution": "2K",
  "aspect_ratio": "1:1"
}'