[Paper Review] Text2Video-Zero: Text-to-Image Diffusion Models are Zero-Shot Video Generators
Text2Video-Zero generates temporally consistent videos from text prompts without any training by modifying pre-trained text-to-image diffusion models to incorporate motion dynamics and cross-frame attention.
Recent text-to-video generation approaches rely on computationally heavy training and require large-scale video datasets. In this paper, we introduce a new task of zero-shot text-to-video generation and propose a low-cost approach (without any training or optimization) by leveraging the power of existing text-to-image synthesis methods (e.g., Stable Diffusion), making them suitable for the video domain. Our key modifications include (i) enriching the latent codes of the generated frames with motion dynamics to keep the global scene and the background time consistent; and (ii) reprogramming frame-level self-attention using a new cross-frame attention of each frame on the first frame, to preserve the context, appearance, and identity of the foreground object. Experiments show that this leads to low overhead, yet high-quality and remarkably consistent video generation. Moreover, our approach is not limited to text-to-video synthesis but is also applicable to other tasks such as conditional and content-specialized video generation, and Video Instruct-Pix2Pix, i.e., instruction-guided video editing. As experiments show, our method performs comparably or sometimes better than recent approaches, despite not being trained on additional video data. Our code will be open sourced at: https://github.com/Picsart-AI-Research/Text2Video-Zero .
Motivation & Objective
- Introduce zero-shot text-to-video generation as a training-free task.
- Leverage pre-trained text-to-image diffusion models to synthesize video sequences.
- Enforce temporal consistency via motion dynamics in latent codes and cross-frame attention.
- Demonstrate broad applicability to conditional, specialized video generation and video editing.
Proposed method
- Enrich latent codes of frames with motion dynamics to align global scene/background over time.
- Apply a cross-frame attention where each frame attends to the first frame to preserve foreground identity.
- Warp latent representations across frames using a motion field and then re-run forward diffusion for motion freedom.
- Replace self-attention layers in Stable Diffusion with cross-frame attention to maintain consistency across frames.
- Optionally apply background smoothing via a convex combination of warped first-frame latent codes with frame latent codes guided by foreground masks.
- Demonstrate compatibility with ControlNet and DreamBooth models for conditional/specialized generation and with Video Instruct-Pix2Pix for instruction-guided editing.
- Use DDIM sampling on modified latents to generate the video sequence.
Experimental results
Research questions
- RQ1Can zero-shot text-to-video generation be achieved without training or fine-tuning on video data?
- RQ2Do motion-aware latent codes and cross-frame attention improve temporal consistency and foreground identity preservation in video generation?
- RQ3Is it possible to extend zero-shot video generation to conditional, specialized, and instruction-guided editing scenarios without additional training?
- RQ4How does the proposed approach compare to existing text-to-video methods in alignment to prompts and temporal stability?
Key findings
- The method achieves temporally consistent video generation from text prompts without training.
- Motion dynamics in latent codes improve global scene/background temporal coherence.
- Cross-frame attention preserves foreground appearance and identity across frames.
- The approach performs competitively with CogVideo in CLIP-based alignment (31.19 vs 29.63).
- It enables conditional and specialized video generation and Video Instruct-Pix2Pix without retraining.
- Qualitative results show high text-video alignment and temporal consistency across various prompts and guidance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.