ImageBlack Forest LabsNew

FLUX.1 Krea

Photographic, natural-looking FLUX image generation

model: "flux-krea"

API docsDocs for agents

Modes

One model id, every mode below. The fields you send pick the mode, and the price follows the mode.

ModeSelected byTypical price
Text to imageprompt
Example request
{
  "model": "flux-krea",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.025
Structure controlmodecontrol_lora_image_url
Example request
{
  "model": "flux-krea",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

Input

Required

Prompt

Optional

Image Size

Optional

Control image (https URL), with mode "structure".

Optional

Seed

Optional

Selects a mode that the other fields cannot: "structure" follows the edges or depth of a control image.

Optional

Follow the control image's edges (canny) or its depth.

Advanced options (4)

Provider settings beyond the main controls. Leave them empty to use the model's defaults.

Optional

Faster inference at a small cost in detail.

Optional
-

How strictly the model follows the prompt. Higher is more literal.

Optional
-

Denoising steps. More is slower and can add detail.

Optional

File format of the result.

Result

FLUX.1 KreaExample output

A real result from this model. Run it to see yours here.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-krea",
  "input": {
    "prompt": "Deep-sea anglerfish drifting in absolute blackness, bioluminescent lure pulsing cold electric blue at the tip of its illicium, wide-angle macro underwater photography, velvety black background, faint green phosphorescence tracing the lateral line and fin edges, portrait orientation, cool cobalt and ghostly ivory palette, entirely unpeopled abyssal fine-art image"
  }
}'
FLUX.1 Krea 1FLUX.1 Krea 2FLUX.1 Krea 3FLUX.1 Krea 4FLUX.1 Krea 5FLUX.1 Krea 6