Skip to content
Docs menu

Image models

Nano Banana 2 Lite

On this page

Nano Banana 2 Lite — fast, high-fidelity AI image generation & editing.

modelIdnano-banana-2-lite
Modalityimage
PricingSee this model on the Pricing page for the current per-call price (with your markup).

Operations

OperationmodelIdEndpointRequired input
Defaultnano-banana-2-litePOST /api/v1/generateprompt
Poll taskGET /api/v1/task/{id}?model=nano-banana-2-lite

Input parameters

FieldTypeRequiredValues / example
promptstringYesA 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_urlsstring[]NoInput 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"]}}'