Key Features

Training-free acceleration for flow-matching diffusion models.
Generates most content in a cheaper low-resolution stage.
Uses Real-ESRGAN for pixel-space x2 super-resolution.
Re-encodes upscaled images before high-resolution refinement.
Uses scheduler-consistent low-strength noise injection.
Supports one-step high-resolution refinement settings.
Works with FLUX, Qwen-Image, FLUX.2 Klein, and Z-Image.
Includes reference scripts, examples, and a ComfyUI plugin.

The pipeline generates a low-resolution image, upsamples it with Real-ESRGAN, re-encodes the result, injects scheduler-consistent low-strength noise, and performs a small number of high-resolution denoising steps. The repository provides reference scripts, scheduler helpers, ComfyUI nodes, and variants for FLUX, Qwen-Image, FLUX.2 Klein, Z-Image-Turbo, and Pi-Flow combinations.


MrFlow is useful when local or hosted image generation needs lower latency without model fine-tuning or custom kernels. The project reports end-to-end speedups such as 10.3x for Qwen-Image, 8.25x for FLUX.1-dev, and up to 25x for a Qwen-Image plus Pi-Flow configuration, while preserving a higher-resolution refinement pass for detail.

Get more likes & reach the top of search results by adding this button on your site!

Embed button preview - Light theme
Embed button preview - Dark theme
TurboType Banner
Zero to AI Engineer Program

Zero to AI Engineer

Skip the degree. Learn real-world AI skills used by AI researchers and engineers. Get certified in 8 weeks or less. No experience required.

Subscribe to the AI Search Newsletter

Get top updates in AI to your inbox every weekend. It's free!