Image models
Nano Banana 2 Lite
On this page
Nano Banana 2 Lite — fast, high-fidelity AI image generation & editing.
| modelId | nano-banana-2-lite |
| Modality | image |
| Pricing | See this model on the Pricing page for the current per-call price (with your markup). |
Operations
| Operation | modelId | Endpoint | Required input |
|---|---|---|---|
| Default | nano-banana-2-lite | POST /api/v1/generate | prompt |
| Poll task | — | GET /api/v1/task/{id}?model=nano-banana-2-lite | — |
Input parameters
| Field | Type | Required | Values / example |
|---|---|---|---|
| prompt | string | Yes | A text description of the image you want to generate Max 20000 characters. (default: Transform this plain storefront into a retro late-night diner, glowing neon signage, a checkerboard floor visible through the window and warm light spilling out onto the empty sidewalk.) |
| image_urls | string[] | No | Input images to transform or use as reference (supports up to 10 images) (image URL) |
Example request
bash
curl -X POST https://you.bot/api/v1/generate \
-H "Authorization: Bearer $YOUBOT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"modelId":"nano-banana-2-lite","input":{"prompt":"A photorealistic portrait of a red fox in a snowy forest, soft morning light, shallow depth of field, 85mm.","image_urls":["https://example.com/input.jpg"]}}'