API docs / Image models
flux-depth-pro API
Professional depth-aware image generation. Edit images while preserving spatial relationships.
- Model id
black-forest-labs/flux-depth-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-depth-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-depth-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
| Name | Type | Details |
|---|---|---|
promptrequired | string | Text prompt for image generation |
enhance_prompt | boolean | Automatically modify the prompt for more creative generation Default: |
seed | number | Random seed. Set for reproducible generation |
guidance | number | 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: Min 1 · Max 100 |
steps | number | Number of diffusion steps. Higher values yield finer details but increase processing time. Default: Min 15 · Max 50 |
output_format | string | Default: One of: jpg, png |
control_imagerequired | array of URLs | Image to use as control input. Must be jpeg, png, gif, or webp. Up to 1 files · Accepts image/* |