Flux 2 Dev Text to Image

Flux 2 Dev by BFL - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.
API docs
bfl/flux-2/dev

Flux 2 Dev by BFL - generate stunning images from text prompts with state-of-the-art AI. Supports multiple aspect ratios, styles, and high-resolution output for creative and commercial use.

Try the model

Playground

Open playground
Input
The prompt to generate an image from.
The aspect ratio of the generated image. Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16.
Advanced settings
020
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. Range: 0 to 20.
450
The number of inference steps to perform. Range: 4 to 50.
The format of the generated image. Allowed values: jpeg, png.
The seed to use for the generation. If not provided, a random seed will be used.
Result
Example
  1. be5ccf4b-2861-4247-b4d9-3351cb2e3cf7.png

    What would you like to do next?

    Open original

Saved example result. No new generation was requested.

Displayed run estimate: $0.012. Final charges follow the model’s billing rules below.

Human preference

Arena

Elo ratings from blind side-by-side votes, compared with other image and video models.

Rankings sourced from Artificial Analysis Arena

Leaderboard
Text to Image
Rank
#46 of 106
Elo
1000
Gap to #1
−222

Text-to-image arena: people pick the better of two images generated from the same prompt, without seeing the model names.

  1. #41Wan2.6 Text to ImageAlibaba1014±12
  2. #42GPT Image 1 (high)OpenAI1013±12
  3. #43Krea 2 MediumKrea1012±9
  4. #44FLUX.2 [pro]Black Forest LabsOn SandBase1003±10
  5. #45Ideogram 4.0Ideogram1002±10
  6. #46FLUX.2 [dev]Black Forest LabsThis model1000
  7. #47Ming-Image-0.1-DesignInclusionAI999±9
  8. #48P-Image-Ideogram (High)Pruna AI995±14
  9. #49FLUX.2 [dev] TurboFalOn SandBase994±11
  10. #50Cosmos3-Super-Text2Image (agentic)NVIDIA993±10

Flux 2 Dev Text to Image

FLUX.2 [dev], the open-weights 32B FLUX.2 model. Text to image.

Fields

FieldTypeDefaultNotes
promptstring, required—Text instruction.
guidance_scalenumber 0–202.5How strictly to follow the prompt.
num_inference_stepsinteger 4–5028More steps add detail and time.
output_formatjpeg / pngpngOutput file format.
aspect_ratio21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:1616:9Output shape.
seedintegerrandomFix it to compare prompt changes.

Billing

$0.012 per image.

RequestPrice
One image$0.012

Failed runs are not charged.

Prompting

  • Write subject, setting, composition, style, then light.
  • Quote any text that must appear.

Limits

  • One output image per request.

Also on SandBase

Other FLUX.2 endpoints: bfl/flux-2/max, bfl/flux-2/pro, bfl/flux-2/flex, bfl/flux-2/turbo, bfl/flux-2/dev/edit.