huggingface / huggingface/diffusers

StreamingT2V: Consistent, Dynamic, and Extendable Long Video Generation from Text

Open
#7,731 4 comments 0 reactions 0 assignees View on GitHub
community-examples contributions-welcome Good second issue
Dominant language
Python
Stars
34.5k
Forks
7.3k
Avg merge
3d 3h
Merged PRs (30d)
91

Description

### Model/Pipeline/Scheduler description

Text-to-video diffusion models enable the generation of high-quality videos given text prompts, making it easy to create diverse and individual content. However, existing approaches mostly focus on short video generation (typically 16 or 24 frames), requiring hard cuts when naively extended to the case of long video synthesis. StreamingT2V, enables autoregressive generation of long videos of 80, 240, 600, 1200 or more frames with smooth transitions. The key components are:

- A ControlNet-like module which conditions the current generation on frames extracted from the previous chunk, using a cross-attention mechanism to integrate its features into the UNet's skip residual features.
- An IP-Adapter-like module which extracts high-level scene and object features from a fixed anchor frame in the first video chunk and is mixed into the prompt embedding features before executing spatial cross-attention.
- A SDEdit-based video refinement stage with randomized chunk sampling of overlapped frames per denoising timestep.

### Open source status

- [X] The model implementation is available.
- [X] The model weights are available (Only relevant if addition is not a scheduler).

### Provide useful links for the implementation

- Code: https://github.com/Picsart-AI-Research/StreamingT2V/-
- Weights: https://huggingface.co/PAIR/StreamingT2V
- Point of Contact Author: @hpoghos

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.