FreeTraj: Tuning-Free Trajectory Control in Video Diffusion Models

Haonan Qiu, Zhaoxi Chen, Zhouxia Wang, Yingqing He, Menghan Xia +1 more
6/24/2024
cs.CV

No official code found. Best implementation: arthur-qiu/FreeTraj (114 stars, Apache-2.0, last commit 2025-09-19).

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.

View on arXivView PDF

Code Implementations(1)

arthur-qiu/FreeTrajCommunity100%
Apache-2.0

Code for FreeTraj, a tuning-free method for trajectory-controllable video generation

1143Shell, PythonJun 24, 20241 years agoApache-2.0
computer-visiondiffusiondiffusion-modelstrajectory-controlvideo-generation

Similar Papers

Cite this paper

@article{qiu2024freetraj,
  title  = {FreeTraj: Tuning-Free Trajectory Control in Video Diffusion Models},
  author = {Haonan Qiu and Zhaoxi Chen and Zhouxia Wang and Yingqing He and Menghan Xia and Ziwei Liu},
  year   = {2024},
  eprint = {2406.16863},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.16863v1}
}

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

Discussion