vivo/BluePixel
Official inference code for BluePixel, a native 4K image editing model with 4-step distilled inference, built on FLUX.2 Klein and DCAE.
What it solves
BluePixelModel addresses the challenge of performing high-quality image editing at native 4K resolution (4096×4096 pixels) without needing resource-heavy super-resolution techniques. It enables fast, high-fidelity edits while maintaining the same computational efficiency typically found in 1K-resolution models.
How it works
The project uses a specialized architecture called DCAE-F64, which compresses images into a latent space that keeps the token count at 4K resolution equivalent to that of a 1K image. It builds upon the Flux 2 Klein model and uses a technique called Source-Anchored Target Projection (SATP) to distill a 50-step teacher model into a 4-step student model, allowing for rapid 4-step inference.
Who it’s for
This model is designed for developers and researchers who need to perform automated, high-resolution image editing tasks. It is particularly useful for those working in environments where speed and 4K output quality are critical, and who have access to CUDA-compatible hardware with BF16 support.
Highlights
- Native 4K direct output (4096×4096) without cascaded super-resolution.
- High-speed 4-step inference distilled from a 50-step teacher model.
- Efficient token management using DCAE-F64, keeping 4K processing costs comparable to 1K.
- Supports batch processing with built-in resume functionality for failed tasks.
- Includes memory optimization options like VAE tiling for hardware with limited capacity.
Related
- Project
- Project
- Project
- Project