API docs / Image models
Nano Banana Pro (Edit image) API
Edit an uploaded image with instructions.
- Model id
fal-ai/nano-banana-pro/edit- 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": "fal-ai/nano-banana-pro/edit". 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": "fal-ai/nano-banana-pro/edit",
"input": {
"prompt": "A red fox standing in fresh snow at golden hour, soft light",
"reference_images": [
"https://example.com/input.png"
]
},
"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 | The prompt for image editing. Up to 50000 characters |
reference_imagesrequired | array of URLs | The URLs of the images to use for image-to-image generation or image editing. Up to 10 files · Accepts image/* |
aspect_ratio | string | The aspect ratio of the generated image. Default: One of: auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 |
resolution | string | The resolution of the image to generate. Default: One of: 1k, 2k, 4k |
output_count | number | The number of images to generate. Default: Min 1 · Max 4 |
output_format | string | The format of the generated image. Default: One of: jpeg, png, webp |
web_search | boolean | Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image. Default: |