API docs / Image models

restore-image API

Restore, fix scratches and damage, and colorize old photos using FLUX Kontext technology. Takes damaged, aged, or black-and-white photographs as input and outputs restored color images with repairs to physical damage, scratches, tears, and fading. Specialized for photo restoration tasks including colorization of historical black-and-white images.

Model id
flux-kontext-apps/restore-image
Provider
flux-kontext-apps
Output
Image
Price
From 14 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": "flux-kontext-apps/restore-image". 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": "flux-kontext-apps/restore-image",
  "input": {
    "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
reference_imagesrequiredarray of URLs

Image to restore. Must be jpeg, png, gif, or webp.

Up to 1 files · Accepts image/*

seednumber

Random seed. Set for reproducible generation

output_formatstring

Default: png

One of: jpg, png