SparseCtrl: Adding Sparse Controls to Text-to-Video Diffusion Models

Yuwei Guo1 Ceyuan Yang2† Anyi Rao3 Maneesh Agrawala3 Dahua Lin1,2 Bo Dai2
Corresponding Author.
1The Chinese University of Hong Kong 2Shanghai Artificial Intellgence Laboratory 3Stanford University

[arXiv Report]     [Code]     [BibTeX]


The development of text-to-video (T2V), i.e., generating videos with a given text prompt, has been significantly advanced in recent years. However, relying solely on text prompts often results in ambiguous frame composition due to spatial uncertainty. The research community thus leverages the dense structure signals, e.g., per-frame depth/edge sequences to enhance controllability, whose collection accordingly increases the burden of inference. In this work, we present SparseCtrl to enable flexible structure control with temporally sparse signals, requiring only one or few inputs. It incorporates an additional condition encoder to process these sparse signals while leaving the pre-trained T2V model untouched. The proposed approach is compatible with various modalities, including sketches, depth, and RGB images, providing more practical control for video generation and promoting applications such as storyboarding, depth rendering, keyframe animation, and interpolation. Extensive experiments demonstrate the generalization of SparseCtrl on both original and personalized T2V generators.

Overview Video


Click to Play the Videos

Image Animation = RGB Image Encoder + starting frame

Keyframe Interpolation = RGB Image Encoder + first & last frames

Video Interpolation = RGB Image Encoder + low framerate input

Video Prediction = RGB Image Encoder + initial N frames

Depth-guided Generation = Depth Encoder + arbitrary depth maps

Sketch-to-Video = Sketch Encoder + single sketch

Storyboarding = Sketch Encoder + arbitrary sketches


    title={SparseCtrl: Adding Sparse Controls to Text-to-Video Diffusion Models},
    author={Yuwei Guo and Ceyuan Yang and Anyi Rao and Maneesh Agrawala and Dahua Lin and Bo Dai},

Project page template is borrowed from DreamBooth.