Papers › DragAnything: Motion Control for Anything using Entity Representation

DragAnything: Motion Control for Anything using Entity Representation

12 Mar 2024arXiv:2403.07420archive 2025-07-28

Weijia Wu, Zhuang Li, YuChao Gu, Rui Zhao, Yefei He, David Junhao Zhang, Mike Zheng Shou, Yan Li, Tingting Gao, Di Zhang

We introduce DragAnything, which utilizes a entity representation to achieve motion control for any object in controllable video generation. Comparison to existing motion control methods, DragAnything offers several advantages. Firstly, trajectory-based is more userfriendly for interaction, when acquiring other guidance signals (e.g., masks, depth maps) is labor-intensive. Users only need to draw a line (trajectory) during interaction. Secondly, our entity representation serves as an open-domain embedding capable of representing any object, enabling the control of motion for diverse entities, including background. Lastly, our entity representation allows simultaneous and distinct motion control for multiple objects. Extensive experiments demonstrate that our DragAnything achieves state-of-the-art performance for FVD, FID, and User Study, particularly in terms of object motion control, where our method surpasses the previous methods (e.g., DragNUWA) by 26% in human voting.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2403.07420")

Code

Syntology Ran 12 of 15 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 2 ran · violated contract; 1 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 11 ran; community (archive-listed): 2 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

showlab/draganything officialmentioned in paperjax report
kwai-kolors/kolors mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 12 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · violated contract
1ran · fixture could not drive it
9ran
3unverified

Licence: 13 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

default showlab/draganything/models/DragAnything.py official repository ran · violated contract no licence file found · pointer only · 424012cb37b31172 · report
exists showlab/draganything/models/DragAnything.py official repository ran · violated contract no licence file found · pointer only · aa5486a3650902d8 · report
find_largest_inner_rectangle_coordinates showlab/draganything/dataset/dataset.py official repository ran no licence file found · pointer only · 2a47928950e04551 · report
get_dift_ID showlab/draganything/gradio_run.py official repository ran no licence file found · pointer only · fc85396781785077 · report
interpolate_trajectory showlab/draganything/gradio_run.py official repository ran no licence file found · pointer only · 2d7af5ceb6a3e43b · report
numpy_to_pt showlab/draganything/dataset/dataset.py official repository ran no licence file found · pointer only · 5eaf7074396504ee · report
pil_image_to_numpy showlab/draganything/dataset/dataset.py official repository ran no licence file found · pointer only · 1169d344db2ec367 · report
pil_image_to_numpy showlab/draganything/dataset/dataset_anysize.py official repository ran no licence file found · pointer only · 85bc701835ea186d · report
split_filename showlab/draganything/utils_drag.py official repository ran fingerprinted no licence file found · pointer only · 19a68b7e896a3da1 · report
tensor2vid showlab/draganything/pipeline/pipeline_svd_DragAnything.py official repository ran · fixture could not drive it no licence file found · pointer only · 94b2fd7865382dc0 · report
visualize_drag_v2 showlab/draganything/gradio_run.py official repository ran no licence file found · pointer only · acd6f8862a7ee210 · report
file2data showlab/draganything/utils_drag.py official repository unverified no licence file found · pointer only · 435271c8023b685f · report
zero_module showlab/draganything/models/DragAnything.py official repository unverified no licence file found · pointer only · f73823a83a14d08a · report
UNet2DConditionOutput kwai-kolors/kolors/kolors/models/unet_2d_condition.py community (archive-listed) ran Apache-2.0 (permissive) · c6a1622ac7265850 · report
UNet2DConditionModel kwai-kolors/kolors/kolors/models/unet_2d_condition.py community (archive-listed) unverified Apache-2.0 (permissive) · 5f085b00f8016580 · report

Tasks

ObjectVideo Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections