FLUX.1 (Flow Matching Transformer)
What it is
12B-parameter rectified flow transformer combining dual multimodal diffusion transformer (MMDiT) blocks with rotary position encodings for extreme visual fidelity and typography.
When to use it
State-of-the-art open text-to-image synthesis, accurate typography and text rendering in images, and complex multi-subject scene composition.
Caveats
The models are large (about 12 billion parameters), so they need substantial GPU memory or quantization to run locally. The fast variants are distilled and lose some guidance control, and licences differ between variants: only the schnell version is under a permissive licence.
Key ideas
- Rectified flow trajectory straightens generative vector field for faster convergence in fewer sampling steps
- Joint text-image transformer blocks allow bidirectional attention between prompt tokens and image latents
- RoPE positional embeddings provide precise spatial arrangement and crisp letter rendering
Related architectures
Original paper
Scaling Rectified Flow Transformers for High-Resolution Image Synthesis (2024, arXiv)