# Nano Banana API (Gemini 2.5 Flash Image) on Wizzx - Model ID: `nano-banana` (Google Nano Banana) - Submit: `POST https://api.wizzx.ai/api/v1/task/submit/nano-banana` - Status: `GET https://api.wizzx.ai/api/v1/task/{task_id}` - Idempotency: optional `Idempotency-Key: ` header on submit - Auth: header `Authorization: Bearer $WIZZX_API_KEY` (server-side only) - Price: from $0.024/image, billed in credits; failed tasks are refunded - Page: https://wizzx.ai/model/nano-banana - JSON Schema: https://wizzx.ai/api/models/nano-banana/schema - API reference: https://docs.wizzx.ai/api-reference/endpoint/submit-nano-banana ## Flow 1. POST the JSON body to the submit URL. The response contains `data.task_id`. 2. Poll `GET /api/v1/task/{task_id}` until `data.status` is `SUCCEEDED`, then read the output URLs from `data.result_urls`. 3. Stop on `FAILED` or `REVIEW_REQUIRED`. Do not resubmit automatically. ## Parameters | Field | Type | Required | Default | Allowed | Description | |---|---|---|---|---|---| | `prompt` | string | yes | | | | | `image_urls` | url[] ≤ 10 | no | | | Up to 10 reference images | | `aspect_ratio` | string | no | 1:1 | 1:1 · 3:2 · 2:3 · 4:3 · 3:4 · 16:9 · 9:16 · 21:9 · 5:4 · 4:5 · auto | | ## Example body ```json { "aspect_ratio": "1:1", "prompt": "A cute die-cut sticker of a corgi wearing a yellow raincoat and boots, splashing in a puddle. Thick white outline, soft pastel shading, subtle paper texture, plain white background." } ```