Nano Banana 2.1

Google's newest Nano Banana, the one Google recommends for new projects. Better design, editing and consistent faces than Nano Banana 2.

Official price50%off
1K2K4K
Official, per image$0.0336$0.0504$0.1134
HaryAI, per image$0.0168$0.0252$0.0567

US dollars. A request that fails isn't charged.

What it makes

Specs

Model name
gemini-nano-banana-2.1
Sizes
1K, 2K, 4K, any common aspect ratio
Formats
OpenAI images (POST /v1/images/generations), Gemini (generateContent) or OpenAI chat (/v1/chat/completions)

Get started

Make it with your agent

Send your agent the prompt from your account page once. Then just say “draw with Nano Banana 2.1: …”.

Copy it on your account page →

Call the API

Gemini format
curl https://api.haryai.com/v1beta/models/gemini-nano-banana-2.1:generateContent \
  -H "x-goog-api-key: $HARYAI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{"role": "user", "parts": [{"text": "A cup of green tea on a wooden table by a window, morning light"}]}],
    "generationConfig": {"responseModalities": ["IMAGE"], "imageConfig": {"aspectRatio": "16:9", "imageSize": "2K"}}
  }'
OpenAI format: a new image
curl https://api.haryai.com/v1/images/generations \
  -H "Authorization: Bearer $HARYAI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-nano-banana-2.1",
    "prompt": "A cup of green tea on a wooden table by a window, morning light",
    "size": "1536x1024"
  }'
OpenAI format: edit an image
curl https://api.haryai.com/v1/images/edits \
  -H "Authorization: Bearer $HARYAI_KEY" \
  -F model=gemini-nano-banana-2.1 \
  -F "prompt=Make the cup bright red, keep everything else the same." \
  -F "image=@tea.png"

Before

After

Make the cup bright red, keep everything else the same.
The OpenAI format in full

Questions

Why is a charge a little above the table?

Nano Banana 2.1 thinks before it draws, and those thinking tokens are billed as text output. At 2K that adds roughly a tenth to the image price.

Nano Banana 2.1 or Nano Banana 2?

2.1 for new work: Google made it the replacement for 2, and it costs less at every size. Nano Banana 2 stays for anyone already using it.

Verify your email and get $0.35 of balance

Enough for about 20 images