Command Palette
Search for a command to run...
Yingying Deng Xiangyu He Changwang Mei Peisong Wang Fan Tang

Abstract
Though Rectified Flows (ReFlows) with distillation offers a promising way forfast sampling, its fast inversion transforms images back to structured noisefor recovery and following editing remains unsolved. This paper introducesFireFlow, a simple yet effective zero-shot approach that inherits the startlingcapacity of ReFlow-based models (such as FLUX) in generation while extendingits capabilities to accurate inversion and editing in 8 steps. We firstdemonstrate that a carefully designed numerical solver is pivotal for ReFlowinversion, enabling accurate inversion and reconstruction with the precision ofa second-order solver while maintaining the practical efficiency of afirst-order Euler method. This solver achieves a 3times runtime speedupcompared to state-of-the-art ReFlow inversion and editing techniques, whiledelivering smaller reconstruction errors and superior editing results in atraining-free mode. The code is available athttps://github.com/HolmesShuan/FireFlow{this URL}.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| text-based-image-editing-on-pie-bench | FireFlow | Background LPIPS: 123.6 Background PSNR: 23.03 CLIPSIM: 26.02 Structure Distance: 27.1 |
| text-based-image-editing-on-pie-bench | FireFlow (Add Q) | Background LPIPS: 239.4 Background PSNR: 16.49 CLIPSIM: 27.33 Structure Distance: 70.9 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.