API docs / Image models
Nano Banana Pro (Text to image) API
Create an image from a text prompt.
- Model id
google/nano-banana-pro- Provider
- Output
- Image
- Price
- From 53 credits per run, the same as on voor.ai. Options such as length or resolution can change it.
Request
POST https://voor.ai/v1/generations with "model": "google/nano-banana-pro". Poll GET /v1/tasks/{id} or receive the signed webhook. See the overview for keys, idempotency, webhooks and errors.
curl https://voor.ai/v1/generations \
-H "Authorization: Bearer $VOOR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/nano-banana-pro",
"input": {
"prompt": "A red fox standing in fresh snow at golden hour, soft light"
},
"callback_url": "https://example.com/webhooks/voor"
}'
# Then poll the task (or wait for the webhook):
curl https://voor.ai/v1/tasks/TASK_ID \
-H "Authorization: Bearer $VOOR_API_KEY"Input parameters
| Name | Type | Details |
|---|---|---|
promptrequired | string | A text description of the image you want to generate |
reference_images | array of URLs | Input images to transform or use as reference (supports up to 14 images) Default: Up to 10 files · Accepts image/* |
aspect_ratio | string | Default: One of: match_input_image, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 |
resolution | string | Default: One of: 1k, 2k, 4k |
output_format | string | Default: One of: jpg, png |