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
Google
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

NameTypeDetails
promptrequiredstring

The prompt for image editing.

Up to 50000 characters

reference_imagesrequiredarray of URLs

The URLs of the images to use for image-to-image generation or image editing.

Up to 10 files · Accepts image/*

aspect_ratiostring

The aspect ratio of the generated image.

Default: auto

One of: auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16

resolutionstring

The resolution of the image to generate.

Default: 1k

One of: 1k, 2k, 4k

output_countnumber

The number of images to generate.

Default: 1

Min 1 · Max 4

output_formatstring

The format of the generated image.

Default: png

One of: jpeg, png, webp

web_searchboolean

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: false