FoxRouter·Reference
中文 Console

gemini-nano-banana-2.1

Google gemini-nano-banana-2.1

Model ID
gemini-nano-banana-2.1
Vendor
Google
Category
Image Models

Use gemini-nano-banana-2.1 with the compatible FoxRouter API below. Prices and groups are synced from foxrouter.org/pricing when the documentation is built; account groups and availability are shown in the console.

#Pricing

List price

Per request
¥0.06 / request

Price by groupUnit: ¥ / request, list price × group multiplier

GroupPer request
default分组×1默认分组¥0.06
绘图&视频分组×1有绘图或视频需求选这个分组¥0.06

Prices and groups synced at 2026-10-30.

#Image generation

POSThttps://foxrouter.org/v1/images/generations

#Request parameters

ParameterTypeRequiredDefaultDescription
promptstringYes—Text prompt describing the desired image generation or edit.
aspect_ratiostringNo"1:1"Aspect ratio of the output image.
image_sizestringNo"1K"Output resolution tier or preset alias, e.g. 1K, 2K, 4K, square_hd.
image_urlsarrayNo—Reference images for generation or multi-image editing, one per line, maximum 6.
previous_request_idstringNo—request_id (it_...) of the immediately preceding image generation/edit owned by the same API key, enabling multi-turn editing.
seedintegerNo—Random seed for reproducible generation.

#Request example

bash
curl -X POST "https://foxrouter.org/v1/images/generations" \
  -H "Authorization: Bearer $FOXROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gemini-nano-banana-2.1",
  "prompt": "A minimalist product poster of a ceramic vase, soft studio light.",
  "aspect_ratio": "1:1",
  "image_size": "1K"
}'

#Try it online

Your browser calls FoxRouter directly. Your key is used only for this request and is never saved.