API docs / Image models

flux-canny-pro API

Professional edge-guided image generation. Control structure and composition using Canny edge detection

Model id
black-forest-labs/flux-canny-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-canny-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-canny-pro",
  "input": {
    "prompt": "A red fox standing in fresh snow at golden hour, soft light",
    "control_image": [
      "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

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 as well as image 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: 30

Min 1 · 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

control_imagerequiredarray of URLs

Image to use as control input. Must be jpeg, png, gif, or webp.

Up to 1 files · Accepts image/*