Nano Banana 2 API
GoogleImage, 1K / 2K / 4K
The quick Gemini image model: drafts, variations and high volume, with reference images and sizes up to 4K.
- 1K$0.035 / image
$0.067−48% - 2K$0.055 / image
$0.101−46% - 4K$0.08 / image
$0.151−47%
Official: Gemini 3.1 Flash Image, Google Gemini API pricing, checked on Nov 13, 2026.
API
Generate Nano Banana 2 images in code.One request, the picture in the answer.
POST /v1/generations
- model
nano-banana-2- prompt
- What the picture shows. Up to 4,000 characters.
- resolution
- 1K, 2K, 4K
- aspect_ratio
- One of 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9. Without it the picture is square.
- images
- Up to 8 reference images as public https links (PNG, JPEG or WebP, up to 16 MB).
curl https://api.tikiapi.com/v1/generations \
-H "Authorization: Bearer $TIKIAPI_KEY" \
-H "Content-Type: application/json" \
-H "Prefer: wait=60" \
-d '{
"model": "nano-banana-2",
"prompt": "Flat lay of summer fruit on a pastel table, top-down, soft shadows",
"aspect_ratio": "4:5",
"resolution": "1K"
}'Overview
What Nano Banana 2 is good at.Fast Gemini image model for volume, from 1K to 4K.
Fast
Quick results for drafts, variations and big batches.
Reference images
Edit photos and keep style consistent.
Sizes up to 4K
From small previews to print-ready pictures.
Pay per image
One price per picture by resolution. No packages.
FAQ
Nano Banana 2 API questions
Something else? Read the docs
How much does the Nano Banana 2 API cost?
$0.035 per 1K image, $0.055 per 2K image, $0.08 per 4K image. No subscription, nothing upfront.
Do I need a subscription?
No. Top up your balance and pay per image. There is no monthly fee and no plan to pick.
Can I use my own images?
Yes. Pass public https links to your images (PNG, JPEG or WebP, up to 16 MB) in the images field to edit them or to guide style and content.
