ImageBlack Forest LabsNew

FLUX.1 Schnell

Ultra-fast image generation in under a second

model: "flux-schnell"

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-schnell",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.0030
Structure controlmodecontrol_lora_image_url
Example request
{
  "model": "flux-schnell",
  "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
1

Number of Images

Optional

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

Optional
4

Steps

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 (3)

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

File format of the result.

Result

FLUX.1 SchnellExample 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-schnell",
  "input": {
    "prompt": "a cute cat being affectionate with a young girl, cat nuzzling the girl, warm and heartwarming scene, soft natural lighting"
  }
}'
FLUX.1 Schnell 1FLUX.1 Schnell 2FLUX.1 Schnell 3FLUX.1 Schnell 4FLUX.1 Schnell 5FLUX.1 Schnell 6