API docs / Image models
FLUX.1 Krea [dev] API
Generate art-directed still images with the exact FLUX.1 Krea [dev] endpoint.
- Model id
fal-ai/flux/krea- Provider
- Krea × Black Forest Labs
- Output
- Image
- Price
- From 7 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": "fal-ai/flux/krea". 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": "fal-ai/flux/krea",
"input": {
"prompt": "A red fox standing in fresh snow at golden hour, soft light"
},
"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 | The prompt to generate an image from. |
aspect_ratio | string | The size of the generated image. Default: One of: 1:1 (HD), 1:1, 3:4, 9:16, 4:3, 16:9 |
output_count | number | The number of images to generate. Default: Min 1 · Max 4 |
seed | number | The same seed and the same prompt given to the same version of the model will output the same image every time. |
guidance | number | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. Default: Min 1 · Max 20 |
steps | number | The number of inference steps to perform. Default: Min 1 · Max 50 |
output_format | string | The format of the generated image. Default: One of: jpeg, png |
acceleration | string | The speed of the generation. The higher the speed, the faster the generation. Default: One of: none, regular, high |