text to image
Nano Banana Pro Google
Nano Banana Pro is a text to image model by Google. Use it through the WizzyFlow API with the same key as every other model, see the price before you generate and pay only for what's done.
Example

Prompt used
Photorealistic, candid portrait of a young woman in her late 20s sitting outdoors at a small, cozy café table during golden hour. She casually holds a ceramic coffee cup close to her face with both hands, her fingers gently curled around the rim, eyes softly smiling as she looks directly into the camera. Her skin has natural texture with subtle freckles, minimal makeup enhancing her authentic, unfiltered look. Her messy bun hairstyle frames her face loosely, with a few stray strands falling over her shoulder. She wears an oversized, textured beige knit sweater, slightly oversized and worn in a relaxed, comfortable way. Warm, directional sunlight from the side illuminates her face, casting soft shadows and highlighting her features with natural realism. Shallow depth of field blurs the background — string lights flicker faintly, café tables and chairs are indistinct, creating a dreamy, intimate atmosphere. Shot on iPhone 15 Pro in portrait mode, with subtle film grain and authentic UGC aesthetic — candid, unposed, emotionally grounded, and deeply human.
Same prompt on other models
Compare allAsynctext to image
google/nano-banana-pro/text-to-image
Quick start
The request is async: you send it, get an ID and poll until it's done. The example uses the values filled in the Playground and runs the whole flow.
# 1. Send the request and keep the ID
ID=$(curl -s https://api.wizzyflow.ai/api/v3/google/nano-banana-pro/text-to-image \
-H "Authorization: Bearer $WIZZYFLOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A wooden raft heading out to sea at sunrise"
}' | jq -r '.data.id')
# 2. Poll every 2 seconds until it's done
while true; do
RES=$(curl -s https://api.wizzyflow.ai/api/v3/predictions/$ID/result \
-H "Authorization: Bearer $WIZZYFLOW_API_KEY")
STATUS=$(echo "$RES" | jq -r '.data.status')
case "$STATUS" in completed|failed|timeout) break ;; esac
sleep 2
done
# 3. The outputs (URLs) and the price charged
echo "$RES" | jq '.data | {status, outputs, price, error}'The response right after sending:
{
"code": 200,
"message": "success",
"data": {
"id": "8f1c2e4a-…",
"model": "google/nano-banana-pro/text-to-image",
"status": "created",
"outputs": [],
"urls": { "get": "https://api.wizzyflow.ai/api/v3/predictions/8f1c2e4a-…/result" },
"price": 0.23,
"currency": "USD"
}
}Getting the result
Poll GET https://api.wizzyflow.ai/api/v3/predictions/{id}/result every 2 seconds, with the same key, until the status is final.
| status | What it means |
|---|---|
created | Received, waiting its turn. |
processing | Generating. |
completed | Done: the outputs are in outputs and the amount charged in price. |
failed | Failed: the reason is in error and nothing is charged. |
timeout | Went over the time limit: nothing is charged. |
{
"code": 200,
"message": "success",
"data": {
"id": "8f1c2e4a-…",
"model": "google/nano-banana-pro/text-to-image",
"status": "completed",
"outputs": ["https://…/image.png"],
"error": "",
"price": 0.23,
"currency": "USD",
"created_at": "2026-10-29T14:02:11Z",
"completed_at": "2026-10-29T14:02:38Z",
"executionTime": 27000
}
}Authentication
Send the key in the Authorization: Bearer $WIZZYFLOW_API_KEY header. Keep the key in an environment variable, on the server; never in browser code.
To resend the same request without risk of a double charge (after a network drop, for example), send the Idempotency-Key header with a value of your own, up to 200 characters. The same value returns the same job.
Input
Parameters go in the body, as JSON. Any you don't send use their default.
| Name | Type | Values | Default |
|---|---|---|---|
promptrequired | string | — | — |
aspect_ratio | option | 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 | 1:1 |
resolution | option | 1k, 2k, 4k | 1k |
output_format | option | png, jpeg | png |
Output
Sending and polling return the job in the same format, inside data.
| Field | Type | What it is |
|---|---|---|
id | string | The job ID, to check the result. |
model | string | The model that generated it. |
status | string | created, processing, completed, failed or timeout. |
outputs | list of URLs | The generated images, in the requested format or png. |
error | string | The reason for the failure, when it fails. |
urls.get | URL | The address to check this job. |
price | number | Amount held when sent and charged when it's done, in your account's currency. |
currency | string | BRL or USD: your account's currency. |
created_at, completed_at | date | When it was received and when it finished. |
executionTime | number | Total time, in milliseconds. |
Other text to image models
Get your key in a minute.
Sign up with just your email and use Nano Banana Pro with prepaid balance.