Black Forest Labs Releases FLUX.3 Image Klein with Layout Control and Multi-Reference Support
Key point
The new model supports text-to-image, multi-reference editing, and bounding-box layout control, with distilled checkpoints generating 1024x1024 images in ~2 seconds on H100 GPUs.
Details
Black Forest Labs has released FLUX.3 Image Klein, a new image generation model now available in Hugging Face Diffusers. The model supports text-to-image, multi-reference image-to-image, and bounding-box layout control, allowing users to specify element positions or move parts of reference images using JSON-defined regions.
Performance and Efficiency
The release includes two checkpoints:
black-forest-labs/flux-3-image-klein: A time-step distilled model optimized for speed, requiring only 16 steps and no CFG. It generates 1024x1024 images in approximately 2 seconds on an H100 GPU.black-forest-labs/flux-3-image-klein-base: The base model requiring 50 steps and CFG, suitable for fine-tuning.
Memory usage is optimized via NVFP4 and FP8 (fp8r) weights. On an H100, the distilled model peaks at 23.8 GiB memory usage. Reference images add 4,096 tokens per transformer call, roughly doubling inference time compared to text-only generation.
Architecture and Features
FLUX.3 uses a Qwen3-VL text encoder and a two-stage transformer architecture:
- Stage 1 (Per-mode blocks): Separate weights for text, noisy image, and reference streams.
- Stage 2 (Joint blocks): Shared weights where all tokens attend to each other.
Key features include:
- Layout Control: Define regions using
[y_min, x_min, y_max, x_max]normalized to 0–1000. Supports moving elements fromsrc_bboxtotgt_bbox. - Modular Diffusers: The pipeline allows block replacement and custom insertion, such as
Flux3PreviewStepfor intermediate results. - LoRA Training: DreamBooth scripts are provided for both text-to-image and image editing, with support for memory optimization flags like
--gradient_checkpointingand--use_8bit_adam.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.