SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.16863 · 2024

FreeTraj: Tuning-Free Trajectory Control in Video Diffusion Models

arXiv · PDF · Open in the Atlas

Code that ran

12 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 5 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 3 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/2406.16863.json · badge: /api/ran/2406.16863.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
arthur-qiu/freetraj canonical (classifier label)
classifier basis: census
12 ran · 3 no recorded run
FunctionStatusWhere it lives
autocast Ran
ran; our contract draft was wrong, not the code
arthur-qiu/freetraj/lvdm/common.py
code served (permissive licence) · get_code("32af1c12fd826ef2")
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 function. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
import torch.nn as nn

torch.manual_seed(0)

# The autocast function takes a single parameter: a function f
# It returns a wrapped version of that function with autocast enabled

# Create a simple function to wrap
def sample_forward(x):
    """A simple function that does some computation"""
    return x * 2 + 1

ARGS = {
    "f": sample_forward
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
disabled_train Ran
ran, violated the contract we drafted
arthur-qiu/freetraj/lvdm/basics.py
code served (permissive licence) · get_code("4cb732f513d69dfd")
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) and returned SimpleModel. 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
import torch.nn as nn

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

model = SimpleModel()

ARGS = {
    "self": model,
    "mode": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SimpleModel — a SimpleModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModel 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
extract_into_tensor Ran
ran; our contract draft was wrong, not the code
arthur-qiu/freetraj/lvdm/common.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Luo-Yihong/YOSO, is pointer only (licence: NONE) · get_code("a15cfd7932844ef9")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Luo-Yihong/YOSO, and GitHub detected no licence in that repository 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.

gaussian_weight Ran
ran, honoured the contract we drafted
arthur-qiu/freetraj/lvdm/modules/attention_freetraj.py
code served (permissive licence) · get_code("e6377402126843ad")
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 Tensor, ndim 2, dtype family float, shape (32, 32) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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
import math

torch.manual_seed(0)

ARGS = {
    "height": 32,
    "width": 32,
    "KERNEL_DIVISION": 3.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (32, 32) — shape (32, 32) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
get_longpath Ran
ran, honoured the contract we drafted
arthur-qiu/freetraj/utils/utils_freetraj.py
code served (permissive licence) · get_code("f6af12946c26fb35")
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 list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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
import numpy as np

torch.manual_seed(0)

# The function get_longpath takes BOX_SIZE_H, BOX_SIZE_W, and input_mode as parameters
# It doesn't use any complex objects, just numeric parameters
# BOX_SIZE_H and BOX_SIZE_W are floats representing box dimensions
# input_mode is an int that selects which input configuration to use

ARGS = {
    "BOX_SIZE_H": 0.3,
    "BOX_SIZE_W": 0.3,
    "input_mode": 4
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
get_path Ran
ran, honoured the contract we drafted
arthur-qiu/freetraj/utils/utils_freetraj.py
code served (permissive licence) · get_code("ad6523848b3dc3e2")
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 list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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
import numpy as np

# The function get_path only takes keyword arguments with default values
# BOX_SIZE_H, BOX_SIZE_W, and input_mode
# Let's construct valid arguments for each parameter

BOX_SIZE_H = 0.3
BOX_SIZE_W = 0.3
input_mode = 0

ARGS = {
    "BOX_SIZE_H": BOX_SIZE_H,
    "BOX_SIZE_W": BOX_SIZE_W,
    "input_mode": input_mode,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
make_beta_schedule Ran
ran, honoured the contract we drafted
arthur-qiu/freetraj/lvdm/models/utils_diffusion.py
code served (permissive licence) · get_code("c984209a2c66afbe")
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 ndarray, ndim 1, dtype family float, shape (10,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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
import numpy as np

torch.manual_seed(0)

ARGS = {
    'schedule': 'linear',
    'n_timestep': 10,
    'linear_start': 0.0001,
    'linear_end': 0.02,
    'cosine_s': 0.008
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (10,) — shape (10,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
make_ddim_timesteps Ran
ran, honoured the contract we drafted
arthur-qiu/freetraj/lvdm/models/utils_diffusion.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from haoheliu/AudioLDM, is pointer only (licence: NOASSERTION) · get_code("0ea4e960ea54514c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from haoheliu/AudioLDM, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

normal_kl Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
arthur-qiu/freetraj/lvdm/distributions.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from NeuralCarver/Michelangelo, is pointer only (licence: GPL-3.0) · get_code("17eb0a31c91b671c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from NeuralCarver/Michelangelo, and GPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

plan_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
arthur-qiu/freetraj/utils/utils_freetraj.py
code served (permissive licence) · get_code("a7e2f425fa36d893")
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 list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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
import numpy as np

torch.manual_seed(0)

# Construct a valid input for plan_path
# The input should be a list of keyframes
# Each keyframe is [frame_index, h_start, h_end, w_start, w_end]

input_data = [
    [0, 10.0, 20.0, 30.0, 40.0],      # Frame 0: h_start=10, h_end=20, w_start=30, w_end=40
    [5, 15.0, 25.0, 35.0, 45.0],      # Frame 5: h_start=15, h_end=25, w_start=35, w_end=45
    [10, 20.0, 30.0, 40.0, 50.0],     # Frame 10: h_start=20, h_end=30, w_start=40, w_end=50
]

ARGS = {
    "input": input_data,
    "video_length": 16
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
timestep_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
arthur-qiu/freetraj/lvdm/models/utils_diffusion.py
code served (permissive licence) · get_code("2203f9d1be3dc36c")
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 Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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
import math

torch.manual_seed(0)

# Create timesteps tensor: 1-D tensor of N indices
timesteps = torch.tensor([0.0, 5.0])

# Dimension of output
dim = 4

# Max period parameter
max_period = 10000

# repeat_only flag
repeat_only = False

ARGS = {
    "timesteps": timesteps,
    "dim": dim,
    "max_period": max_period,
    "repeat_only": repeat_only,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
zero_module Ran
ran; our contract draft was wrong, not the code
arthur-qiu/freetraj/lvdm/basics.py
code served (permissive licence) · get_code("129b804760b3115f")
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) and returned SimpleModule. 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
import torch.nn as nn

torch.manual_seed(0)

# Create a simple module with some parameters
class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        self.conv = nn.Conv1d(2, 2, 3)
    
    def forward(self, x):
        return x

module = SimpleModule()

# Verify the module has non-zero parameters before zeroing
for p in module.parameters():
    assert p.abs().sum() > 0, "Parameters should be non-zero initially"

ARGS = {
    "module": module
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SimpleModule — a SimpleModule output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModule 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
gather_data Not yet run
unverified (harvested, no recorded run)
arthur-qiu/freetraj/lvdm/common.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from shijianjian/stereocrafter-zero, is pointer only (licence: NONE) · get_code("b72d8eb89fd75383")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from shijianjian/stereocrafter-zero, and GitHub detected no licence in that repository 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.

gaussian_2d Not yet run
unverified (harvested, no recorded run)
arthur-qiu/freetraj/lvdm/modules/attention_freetraj.py
code served (permissive licence) · get_code("3fa8442a049bccd4")
How it ran

no invocation recorded.

scale_module Not yet run
unverified (harvested, no recorded run)
arthur-qiu/freetraj/lvdm/basics.py
code served (permissive licence) · get_code("9136b5f9b735334b")
How it ran

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, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 4 the same month, 10 later) and 4 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
zero_module 196 other papers
133 dated earlier, 3 the same month, 59 later, 1 same year, order not determinable · 49 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
and 193 more not named here
disabled_train 173 other papers
117 dated earlier, 9 the same month, 39 later, 8 same year, order not determinable · 5 only as an assembly brick
2012.09841 (2020-12)
Taming Transformers for High-Resolution Image Synthesis
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
and 170 more not named here
normal_kl 34 other papers
21 dated earlier, 1 the same month, 12 later
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2209.15421 (2022-09)
TabDDPM: Modelling Tabular Data with Diffusion Models
2211.13221 (2022-11)
Latent Video Diffusion Models for High-Fidelity Long Video Generation
and 31 more not named here
extract_into_tensor 32 other papers
22 dated earlier, 10 later · 7 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2112.02815 (2021-12)
Make It Move: Controllable Image-to-Video Generation with Text Descriptions
and 29 more not named here
make_beta_schedule 29 other papers
18 dated earlier, 1 the same month, 9 later, 1 same year, order not determinable · 7 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2206.02262 (2022-06)
Diffusion-GAN: Training GANs with Diffusion
2211.10658 (2022-11)
EDGE: Editable Dance Generation From Music
and 26 more not named here
timestep_embedding 25 other papers
16 dated earlier, 9 later · 8 only as an assembly brick
2202.06875 (2022-02)
Visual Acoustic Matching
2301.05225 (2023-01)
Domain Expansion of Image Generators
2302.07685 (2023-02)
Video Probabilistic Diffusion Models in Projected Latent Space
and 22 more not named here
make_ddim_timesteps 15 other papers
11 dated earlier, 4 later · 4 only as an assembly brick
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2202.09778 (2022-02)
Pseudo Numerical Methods for Diffusion Models on Manifolds
Xu_Versatile_Diffusion_Text_Images_and_Variations_All_in_One_Diffusion_ICCV_2023_paper (2023 (year only))
Versatile Diffusion: Text, Images and Variations All in One Diffusion Model
and 12 more not named here
autocast 14 other papers
9 dated earlier, 4 later, 1 same year, order not determinable
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2310.04687 (2023-10)
Targeted Attack Improves Protection against Unauthorized Diffusion Customization
2310.12190 (2023-10)
DynamiCrafter: Animating Open-domain Images with Video Diffusion Priors
and 11 more not named here
scale_module 14 other papers
8 dated earlier, 6 later
2303.08863 (2023-03)
Class-Guided Image-to-Image Diffusion: Cell Painting from Brightfield Images with Class Labels
2310.12190 (2023-10)
DynamiCrafter: Animating Open-domain Images with Video Diffusion Priors
2310.15587 (2023-10)
SCANDL: A Diffusion Model for Generating Synthetic Scanpaths on Texts
and 11 more not named here
gather_data 10 other papers
7 dated earlier, 3 later
2310.12190 (2023-10)
DynamiCrafter: Animating Open-domain Images with Video Diffusion Priors
2312.00330 (2023-12)
StyleCrafter: Enhancing Stylized Text-to-Video Generation with Style Adapter
2312.03641 (2023-12)
MotionCtrl: A Unified and Flexible Motion Controller for Video Generation
and 7 more not named here
gaussian_2d 1 other paper
1 dated earlier
2401.00896 (2024-01)
TrailBlazer: Trajectory Control for Diffusion-Based Video Generation

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

Diffusion model has demonstrated remarkable capability in video generation, which further sparks interest in introducing trajectory control into the generation process. While existing works mainly focus on training-based methods (e.g., conditional adapter), we argue that diffusion model itself allows decent control over the generated content without requiring any training. In this study, we introduce a tuning-free framework to achieve trajectory-controllable video generation, by imposing guidance on both noise construction and attention computation. Specifically, 1) we first show several instructive phenomenons and analyze how initial noises influence the motion trajectory of generated content. 2) Subsequently, we propose FreeTraj, a tuning-free approach that enables trajectory control by modifying noise sampling and attention mechanisms. 3) Furthermore, we extend FreeTraj to facilitate longer and larger video generation with controllable trajectories. Equipped with these designs, users have the flexibility to provide trajectories manually or opt for trajectories automatically generated by the LLM trajectory planner. Extensive experiments validate the efficacy of our approach in enhancing the trajectory controllability of video diffusion models.

For agents

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

get_harvested_code_for_paper("2406.16863")
get_code_for_paper("2406.16863")
have("2406.16863")

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

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

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

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

Connect an agent — have() is free.