Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
clarencechen opened this issue Apr 21, 2024 · 4 comments
Open
2 tasks done

Comments

@clarencechen
Copy link
Contributor

clarencechen commented Apr 21, 2024

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

  • The model implementation is available.
  • The model weights are available (Only relevant if addition is not a scheduler).

Provide useful links for the implementation

@DN6
Copy link
Collaborator

DN6 commented Apr 22, 2024

Sounds like a nice addition. I think we can open it up to the community to work on. Or would you like to work on it @clarencechen?

@dg845
Copy link
Contributor

dg845 commented Sep 15, 2024

Hi, I'd like to try working on this if the maintainers still think this is a good addition to the library :).

@yiyixuxu
Copy link
Collaborator

hi @dg845
it's been a while! Welcome back!
this one I think it'd go into the community folder, to begin with

@a-r-r-o-w
Copy link
Member

Hi @dg845! We did indeed plan to support StreamingT2V but other things took priority. Would love to have this if you find time to PR - thanks! I'm familiar with the codebase so would love to be of help in any way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants