# Nano Banana Pro API on Wizzx - Model ID: `nano-banana-pro` (Google Nano Banana Pro) - Submit: `POST https://api.wizzx.ai/api/v1/task/submit/nano-banana-pro` - 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.108/image, billed in credits; failed tasks are refunded - Page: https://wizzx.ai/model/nano-banana-pro - JSON Schema: https://wizzx.ai/api/models/nano-banana-pro/schema - API reference: https://docs.wizzx.ai/api-reference/endpoint/submit-nano-banana-pro ## 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[] ≤ 8 | no | | | Optional. Add up to 8 images to guide image-to-image generation. | | `aspect_ratio` | string | no | 1:1 | 1:1 · 2:3 · 3:2 · 3:4 · 4:3 · 4:5 · 5:4 · 9:16 · 16:9 · 21:9 · auto | Choose the output canvas. This does not change the price. | | `resolution` | string | no | 2K | 1K · 2K · 4K | Resolution is the only setting that changes the price. | | `output_format` | string | no | png | png · jpg | | ## Example body ```json { "aspect_ratio": "1:1", "resolution": "2K", "output_format": "png", "prompt": "A premium product poster for a fictional coffee brand called \"Morning Field\". A matte ceramic cup sits on a sunlit linen tablecloth with steam rising. The brand name is set in a large serif headline across the top, with a smaller line \"Single-origin · Slow roast\" below it. Natural window light, editorial photography, crisp and legible typography." } ```