Google Nano Banana 2.1

Google's newest Nano Banana makes and edits images up to 4K, with sharper text and characters that stay the same across edits.

Nano Banana 2.1 is Google's newest image model (gemini-nano-banana-2.1), the next step after Nano Banana 2. It writes an image from a prompt or edits your pictures: give up to 14 reference images in image_urls - products, faces, places, a style - and describe what to make of them.

Use it for product shots and ads with readable text, posters and infographics, characters that keep their look across a series, and edits of a photo you already have. Choose the size (resolution 1K, 2K or 4K), the shape (aspect_ratio: auto or one of 14 ratios from 1:8 to 8:1), up to 10 images per run (num_images), how hard it thinks (thinking_level: minimal, medium or high) and whether it may search the web for facts it draws (enable_web_search).

It does not make video and does not keep a conversation: each run starts from its prompt and references.

Price: what Google bills for the run - $0.0336 per 1K image, $0.0504 at 2K and $0.1134 at 4K, plus text and thinking tokens at $7.50 per 1M (about $0.04 for a 1K image at the defaults), $1.50 per 1M input tokens (a reference image is about 1,120 tokens) and $0.014 per web search. A failed run costs nothing.

Price: From $0.0336 per image, depending on resolution; text and thinking tokens $7.50 per 1M, web search $0.014 per query. One run with default settings costs $0.0336.

Run Google Nano Banana 2.1 via API

curl -X POST https://api.flymy.ai/api/v1/flymyai/nano-banana-2_1/predict \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A glass banana on a lavender studio set, soft rim light","resolution":"1K"}'

API documentation · Create a free account · Pricing

Related models