SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.07420 · ECCV · 2024

DragAnything: Motion Control for Anything using Entity Representation

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

arXiv · PDF · Open in the Atlas

Code that ran

13 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 2 violated it and 1 has no contract verdict; 10 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2403.07420.json · badge: /api/ran/2403.07420.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
showlab/draganything canonical (classifier label)
classifier basis: census
12 ran · 1 no recorded run
kwai-kolors/kolors community
Papers with Code archive
1 ran · 1 no recorded run
FunctionStatusWhere it lives
UNet2DConditionOutput Ran
ran on a synthesized input · constructed an object; no result was computed
kwai-kolors/kolors/kolors/models/unet_2d_condition.py
code served (permissive licence) · get_code("c6a1622ac7265850")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, UNet2DConditionOutput: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from dataclasses import dataclass

torch.manual_seed(0)

# Create a small sample tensor with shape (batch_size, num_channels, height, width)
# Using distinct dimensions: batch=2, channels=4, height=3, width=5
sample_tensor = torch.randn(2, 4, 3, 5)

ARGS = {
    "sample": sample_tensor,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
diffusers, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type UNet2DConditionOutput — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a UNet2DConditionOutput output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
default Ran
ran, violated the contract we drafted
showlab/draganything/models/DragAnything.py
pointer only (licence: NONE) · get_code("424012cb37b31172")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

exists Ran
ran, violated the contract we drafted
showlab/draganything/models/DragAnything.py
pointer only (licence: NONE); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_largest_inner_rectangle_coordinates Ran
ran; our contract draft was wrong, not the code
showlab/draganything/dataset/dataset.py
pointer only (licence: NONE) · get_code("2a47928950e04551")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_dift_ID Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
showlab/draganything/gradio_run.py
pointer only (licence: NONE) · get_code("fc85396781785077")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

interpolate_trajectory Ran
ran; our contract draft was wrong, not the code
showlab/draganything/gradio_run.py
pointer only (licence: NONE) · get_code("2d7af5ceb6a3e43b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

numpy_to_pt Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
showlab/draganything/dataset/dataset.py
pointer only (licence: NONE) · get_code("5eaf7074396504ee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pil_image_to_numpy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
showlab/draganything/dataset/dataset.py
pointer only (licence: NONE) · get_code("1169d344db2ec367")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

pil_image_to_numpy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
showlab/draganything/dataset/dataset_anysize.py
pointer only (licence: NONE) · get_code("85bc701835ea186d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

split_filename Ran
ran; our contract draft was wrong, not the code
showlab/draganything/utils_drag.py
pointer only (licence: NONE) · get_code("19a68b7e896a3da1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tensor2vid Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
showlab/draganything/pipeline/pipeline_svd_DragAnything.py
pointer only (licence: NONE) · get_code("94b2fd7865382dc0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

visualize_drag_v2 Ran
ran; our contract draft was wrong, not the code
showlab/draganything/gradio_run.py
pointer only (licence: NONE) · get_code("acd6f8862a7ee210")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

zero_module Ran
ran; our contract draft was wrong, not the code
showlab/draganything/models/DragAnything.py
pointer only (licence: NONE); the stored copy get_code serves, from lihxxx/DisPose, is pointer only (licence: NONE) · get_code("f73823a83a14d08a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

UNet2DConditionModel Not yet run
unverified (harvested, no recorded run)
kwai-kolors/kolors/kolors/models/unet_2d_condition.py
code served (permissive licence) · get_code("5f085b00f8016580")
How it ran

no invocation recorded.

file2data Not yet run
unverified (harvested, no recorded run)
showlab/draganything/utils_drag.py
pointer only (licence: NONE) · get_code("435271c8023b685f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, showlab/draganything when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 3 the same month, 4 later) and 11 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
exists 486 other papers
309 dated earlier, 19 the same month, 147 later, 9 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
default 207 other papers
130 dated earlier, 9 the same month, 62 later, 6 same year, order not determinable · 41 only as an assembly brick
1711.11585 (2017-11)
High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.08162 (2020-10)
SidechainNet: An All-Atom Protein Structure Dataset for Machine Learning
and 204 more not named here
zero_module 40 other papers
12 dated earlier, 5 the same month, 21 later, 2 same year, order not determinable
2305.13077 (2023-05)
ControlVideo: Training-free Controllable Text-to-Video Generation
2305.17098 (2023-05)
ControlVideo: Conditional Control for One-shot Text-driven Video Editing and Beyond
2308.03448 (2023-08)
Make Explicit Calibration Implicit: Calibrate Denoiser Instead of the Noise Model
and 37 more not named here
tensor2vid 5 other papers
1 dated earlier, 4 later
2402.00769 (2024-02)
AnimateLCM: Computation-Efficient Personalized Style Video Generation without Personalized Video Data
2405.15364 (2024-05)
NVS-Solver: Video Diffusion Model as Zero-Shot Novel View Synthesizer
2409.17550 (2024-09)
A Simple but Strong Baseline for Sounding Video Generation: Effective Adaptation of Audio and Video Diffusion Models for Joint Generation
and 2 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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. The project website is at: DragAnything.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2403.07420")
get_code_for_paper("2403.07420")
have("2403.07420")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2403.07420.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2403.07420.svg)](https://syntology.ai/paper/2403.07420)

Connect an agent — have() is free.