Image model by Google

Nano Banana 2.1 API

model: nano-banana-2-1

Call Nano Banana 2.1 with your KeelRouter API key, the same key you use for every other model. From $0.022 per image, paid per call from a prepaid balance. Failed calls are free.

Pricing

OptionPrice
1K$0.022 per image
2K$0.036 per image
4K$0.058 per image

Call it

Async: POST /v1/images/generations returns a taskId; poll the same path with ?task_id= or pass a callback_url.

curl https://api.keelrouter.com/v1/images/generations \
  -H "Authorization: Bearer $KEELROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "nano-banana-2-1",
  "prompt": "A lighthouse at dawn, watercolor",
  "resolution": "1K"
}'

Parameters

NameTypeNotes
modelstringRequired. nano-banana-2-1
promptstringRequired.
imagestring
image_urlsarray
aspect_ratiostringOne of auto, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1. Default auto.
resolutionstringOne of 1K, 2K, 4K. Default 1K.
callback_urlstringOptional https URL; we POST the result when the task ends

FAQ

How much does the Nano Banana 2.1 API cost on KeelRouter?
From $0.022 per image. You pay per call from a prepaid USD balance; failed calls are not charged.
How do I call Nano Banana 2.1?
POST to /v1/images/generations with model "nano-banana-2-1". You get a taskId back; poll the same endpoint with ?task_id= or pass a callback_url.
Is this the official Nano Banana 2.1 API?
No. KeelRouter is an independent API gateway. Requests run on Nano Banana 2.1 through our upstream providers, and the image model keeps its own safety filters.
How long are results kept?
Result files are kept for 30 days, then deleted. Download what you want to keep.

More from Google

KeelRouter is an independent service and is not affiliated with Google. Nano Banana 2.1 is a trademark of its owner, used here only to name the model a request runs on.