BlackForestLabs logo

FLUX Dev

BlackForestLabsReleased Aug 21, 2024black-forest-labs/flux-dev
CostCompare

FLUX.1 [dev] is a 12 billion parameter text-to-image model developed by Black Forest Labs for high-quality image generation and editing from text prompts.It excels at generating photorealistic images with strong prompt adherence, real-world physics understanding (e.g., lighting, spatial relationships), and readable text rendering.

Context
4K
Max output
4K
Input /1M
Varies
Output /1M
Varies
AcceptsTextProducesImage

Providers

2 providers serve this model. FastRouter routes each request to the best available one, and you can bring your own key for any of them.

FAL AI logo
FAL AI
falai
Input /1M—
Output /1M$0.025/img
Context4K
Max output4K
LE
Leonardo
leonardo
Input /1MVaries
Output /1MVaries
Context4K
Max output4K

Supported parameters

Request parameters you can send with this model.

Parameter
Type
FAL AI
Leonardo
Core (Sampling & basic generation)
nNumber of completions to generate.
number
1 to 4
-
seedSeed for deterministic sampling.
number
-
≤ 2147483638
Other
acceleration
string
"none", "regular", "high"
-
enable_safety_checker
bool
true | false
-
guidance_scale
number
1 to 20
-
num_inference_steps
number
1 to 50
-
output_format
string
"jpeg", "png"
-
size
string
"square_hd", "square", "portrait_4_3", "portrait_16_9", "landscape_4_3", "landscape_16_9"
-
sync_mode
bool
true | false
-
contrast
number
-
3, 3.5, 4

Make your first API call

OpenAI-compatible. Point your SDK at FastRouter, or call the API directly.

Full API docs
Replace <FASTROUTER_API_KEY> with your key · Get your key →
HTTP

Frequently asked questions

More models from BlackForestLabs

BlackForestLabs logo
FLUX Kontext Problack-forest-labs/flux-kontext-pro

FLUX.1 Kontext [pro] is an advanced image generation and editing model from Black Forest Labs that supports both text prompts and reference images for in-context modifications.

BlackForestLabs logo
FLUX 2 Problack-forest-labs/flux-pro-2.0

FLUX.2 Pro (also styled as Flux-2-Pro or FLUX.2 [pro]) is a production-grade AI image generation and editing model developed by Black Forest Labs, released in November 2025 as the flagship of the FLUX.2 family. It excels in creating high-quality, photorealistic images up to 4 megapixels from text prompts, with advanced controls for editing, multi-reference image use (up to 8 references), and precise outputs suitable for commercial workflows like product photography, UI prototyping, and brand design.

BlackForestLabs logo
FLUX Schnellblack-forest-labs/flux-schnell

FLUX.1 [schnell] is a 12-billion-parameter rectified flow transformer model for text-to-image generation, developed by Black Forest Labs. "Schnell" (German for "fast") is the speed-optimized variant of the FLUX.1 model family, distilled for rapid inference — it can generate high-quality images in as few as 1–4 diffusion steps, making it significantly faster than typical diffusion models while maintaining strong prompt adherence and image fidelity.

Model scores sourced from ArtificialAnalysis