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

NameTypeDetails
promptrequiredstring

The prompt to generate an image from.

aspect_ratiostring

The size of the generated image.

Default: 4:3

One of: 1:1 (HD), 1:1, 3:4, 9:16, 4:3, 16:9

output_countnumber

The number of images to generate.

Default: 1

Min 1 · Max 4

seednumber

The same seed and the same prompt given to the same version of the model will output the same image every time.

guidancenumber

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: 4.5

Min 1 · Max 20

stepsnumber

The number of inference steps to perform.

Default: 28

Min 1 · Max 50

output_formatstring

The format of the generated image.

Default: jpeg

One of: jpeg, png

accelerationstring

The speed of the generation. The higher the speed, the faster the generation.

Default: none

One of: none, regular, high