snap-research/stable-flow
Research implementation of a training-free image editing method using diffusion transformers and flow matching for controlled image modifications.

This repository provides the official implementation of a CVPR 2025 paper on image editing using diffusion transformers. The method identifies vital layers within DiT architectures for selective attention feature injection, enabling consistent edits ranging from non-rigid modifications to object addition. It introduces an improved image inversion method for flow models to enable real-image editing, and includes qualitative and quantitative evaluation with a user study.