API docs / Image models

crystal-upscaler API

An advanced image enhancement tool designed specifically for facial details and portrait photography, utilizing Clarity AI's upscaling technology.

Model id
clarityai/crystal-upscaler
Provider
clarityai
Output
Image
Price
From 6 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": "clarityai/crystal-upscaler". 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": "clarityai/crystal-upscaler",
  "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

URL to the input image

Up to 1 files · Accepts image/*

upscale_factornumber

Scale factor

Default: 2

Min 1 · Max 200

output_formatstring

Output image format

Default: jpg

One of: png, jpg

creativitynumber

Creativity level for upscaling

Default: 0

Min 0 · Max 10