FLUX
Open-weights image model from Black Forest Labs, leading in photorealism and prompt accuracy.
The open-source answer to Midjourney — run it on your own GPU, or use the API. Best prompt adherence among open models.
What it is
FLUX is a family of open-weights image-generation models from Black Forest Labs (founded by original Stable Diffusion authors). FLUX.1 Schnell is Apache-2.0 and freely self-hostable; FLUX.1 Dev and Pro push higher quality. It leads open models in photorealism, anatomy, and prompt accuracy, and is the backbone of many self-hosted image stacks.
Best for
- Self-host a Midjourney-class image generator
- Photorealistic product/scene imagery
- Build image features into your own product
Pros
- Open weights, freely self-hostable (Schnell)
- Excellent prompt adherence and realism
- Backed by the original Stable Diffusion team
Cons
- Self-hosting needs a capable GPU
- Pro tier behind paid API
Quick start
- Pick a tier: [schnell] (Apache-2.0, fastest, fully open) for self-hosting; [dev] (non-commercial) for higher quality; [pro] via API for production.
- Fastest path: install ComfyUI or Automatic1111 → drop the FLUX.1 Schnell checkpoint (.safetensors) into models/Stable-diffusion/.
- For API: sign up at api.bfl.ml, grab a key, and use the playground at blackforestlabs.ai.
- Default model: [dev] for quality, [schnell] for speed. Start at 20–30 inference steps, guidance ~3.5.
- Prompts work clean: subject + setting + lens + lighting. FLUX is known for adherence — over-styling with weights is rarely needed.
- Export PNG/JPEG from the UI, or via the BFL API at 1MP / 2MP presets (Pro up to 4MP).
Sample input / output
Endpoint: api.bfl.ml/v1/flux-pro-1.1
Body: {
"prompt": "Photorealistic product photo of a glass perfume bottle on a marble pedestal, soft top-down lighting, dew droplets on glass, editorial perfume-ad aesthetic, 85mm lens look",
"width": 1024,
"height": 1024,
"steps": 30,
"guidance": 3.5,
"seed": 4815162342
} Generated in ~6.5s on FLUX Pro 1.1 (BFL API).
Single image, 1024×1024 PNG.
Anatomy, lighting, dew physics all rendered correctly on first try — typical FLUX.
Cost: $0.05 (FLUX Pro credit rate).
Note: for real product series, pair with ControlNet / IP-Adapter for multi-shot consistency; base FLUX API gives one image per call. Benchmarks
Pricing
Free self-host (Schnell); paid API for Pro
Underlying models
Self-hosting
Yes — FLUX can be self-hosted under the Apache-2.0 (Schnell) / non-commercial (Dev) license. This gives you full control over data and deployment.