FastDrag: Manipulate Anything in One Step

Xuanjia Zhao, Jian Guan, Congyi Fan, Dongli Xu, Youtian Lin +2 more
2/3/2026

No official code found. Best implementation: XuanjiaZ/FastDrag (28 stars, Apache-2.0, last commit 2025-02-26).

Abstract

Drag-based image editing using generative models provides precise control over image contents, enabling users to manipulate anything in an image with a few clicks. However, prevailing methods typically adopt $n$-step iterations for latent semantic optimization to achieve drag-based image editing, which is time-consuming and limits practical applications. In this paper, we introduce a novel one-step drag-based image editing method, i.e., FastDrag, to accelerate the editing process. Central to our approach is a latent warpage function (LWF), which simulates the behavior of a stretched material to adjust the location of individual pixels within the latent space. This innovation achieves one-step latent semantic optimization and hence significantly promotes editing speeds. Meanwhile, null regions emerging after applying LWF are addressed by our proposed bilateral nearest neighbor interpolation (BNNI) strategy. This strategy interpolates these regions using similar features from neighboring areas, thus enhancing semantic integrity. Additionally, a consistency-preserving strategy is introduced to maintain the consistency between the edited and original images by adopting semantic information from the original image, saved as key and value pairs in self-attention module during diffusion inversion, to guide the diffusion sampling. Our FastDrag is validated on the DragBench dataset, demonstrating substantial improvements in processing time over existing methods, while achieving enhanced editing performance. Project page: https://fastdrag-site.github.io/ .

View on arXivView PDF

Code Implementations(1)

XuanjiaZ/FastDragCommunity100%
Apache-2.0

[NIPS 2024] Official code for FastDrag

283Shell, PythonOct 25, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhao2026fastdrag,
  title  = {FastDrag: Manipulate Anything in One Step},
  author = {Xuanjia Zhao and Jian Guan and Congyi Fan and Dongli Xu and Youtian Lin and Haiwei Pan and P. Feng},
  year   = {2026},
  eprint = {2405.15769},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.15769},
  url    = {https://arxiv.org/abs/2405.15769},
  journal = {NEURIPS 2024 2024}
}

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/2405.15769.svg)](https://codeofpaper.com/paper/2405.15769)

Discussion