DragonDiffusion: Enabling Drag-style Manipulation on Diffusion Models

Chong Mou, Xintao Wang, Jie Song, Ying Shan, Jian Zhang
2/12/2026

No official code found. Best implementation: MC-E/DragonDiffusion (785 stars, Apache-2.0, last commit 2024-03-02). 1 more below.

Abstract

Despite the ability of existing large-scale text-to-image (T2I) models to generate high-quality images from detailed textual descriptions, they often lack the ability to precisely edit the generated or real images. In this paper, we propose a novel image editing method, DragonDiffusion, enabling Drag-style manipulation on Diffusion models. Specifically, we construct classifier guidance based on the strong correspondence of intermediate features in the diffusion model. It can transform the editing signals into gradients via feature correspondence loss to modify the intermediate representation of the diffusion model. Based on this guidance strategy, we also build a multi-scale guidance to consider both semantic and geometric alignment. Moreover, a cross-branch self-attention is added to maintain the consistency between the original image and the editing result. Our method, through an efficient design, achieves various editing modes for the generated or real images, such as object moving, object resizing, object appearance replacement, and content dragging. It is worth noting that all editing and content preservation signals come from the image itself, and the model does not require fine-tuning or additional modules. Our source code will be available at https://github.com/MC-E/DragonDiffusion.

View on arXivView PDF

Code Implementations(2)

Apache-2.0

ICLR 2024 (Spotlight)

78521CSS, PythonJun 22, 20232 years agoApache-2.0
MIT

My implementation of object moving from DragonDiffusion https://arxiv.org/pdf/2307.02421.pdf

30Jupyter NotebookMar 28, 20242 years agoMIT

Similar Papers

Cite this paper

@article{mou2026dragondiffusion,
  title  = {DragonDiffusion: Enabling Drag-style Manipulation on Diffusion Models},
  author = {Chong Mou and Xintao Wang and Jie Song and Ying Shan and Jian Zhang},
  year   = {2026},
  eprint = {2307.02421},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2307.02421},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.02421.svg)](https://codeofpaper.com/paper/2307.02421)

Discussion