API docs / Image models

flux-fill-pro API

Professional inpainting and outpainting model with state-of-the-art performance. Edit or extend images with natural, seamless results.

Model id
black-forest-labs/flux-fill-pro
Provider
Flux AI
Output
Image
Price
From 18 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": "black-forest-labs/flux-fill-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": "black-forest-labs/flux-fill-pro",
  "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

Text prompt for image generation

reference_imagesrequiredarray of URLs

The image to inpaint. Can contain an alpha mask. Must be jpeg, png, gif, or webp.

Up to 1 files · Accepts image/*

maskarray of URLs

A black-and-white image that describes the part of the image to inpaint. Black areas will be preserved while white areas will be inpainted. Must have the same size as image. Optional if you provide an alpha mask in the original image. Must be jpeg, png, gif, or webp.

Up to 1 files · Accepts image/*

enhance_promptboolean

Automatically modify the prompt for more creative generation

Default: false

seednumber

Random seed. Set for reproducible generation

guidancenumber

Controls the balance between adherence to the text prompt and image quality/diversity. Higher values make the output more closely match the prompt but may reduce overall image quality. Lower values allow for more creative freedom but might produce results less relevant to the prompt.

Default: 60

Min 1.5 · Max 100

stepsnumber

Number of diffusion steps. Higher values yield finer details but increase processing time.

Default: 50

Min 15 · Max 50

output_formatstring

Default: jpg

One of: jpg, png

outpaintstring

Default: None

One of: None, Zoom out 1.5x, Zoom out 2x, Make square, Left outpaint, Right outpaint, Top outpaint, Bottom outpaint