It has been revealed that openAI’s Sora demo marked a striking advance in AI-generated video last year and gave us a glimpse of the potential capabilities of video generation models. The impact was immediate and since that demo, the video generation space has become increasingly competitive with major players and startups producing their own highly capable models such as Google’s Veo2, Haliluo’s Minimax, Runway’s Gen3 Alpha, Kling, Pika, and Luma Lab’s Dream Machine.

Open-source has also had its own surge of video generation models with CogVideoX, Mochi-1, Hunyuan, Allegro, and LTX Video. Is the video community having its “Stable Diffusion moment”? (Related: LA Noire 2 leak resurfaces after source gets GTA 6 endi...)

This post will provide a brief overview of the state of video generation models, where we are with respect to open video generation models, and how the Diffusers team is planning to support their adoption at scale. (Related: 3D Asset Generation: AI for Game Development #3...)

These are today's most popular video models for AI-generated content creation.

There are several factors we’d like to see and control in videos:.

According to recent reports, with image generation models, we usually only care about the first three aspects. However, for video generation we now have to consider motion quality, coherence and consistency over time, potentially with multiple subjects. Finding the right balance between good data, right inductive priors, and training methodologies to suit these additional requirements has proved to be more challenging than other modalities.

Text-to-video generation models have similar components as their text-to-image counterparts:.

According to recent reports, the latest generation of video models shares a core feature where the denoising network processes 3D video tokens that capture both spatial and temporal information. The video encoder-decoder system, responsible for producing and decoding these tokens, employs both spatial and temporal compression. While decoding the latents typically demands the most memory, these models offer frame-by-frame decoding options to reduce memory usage.

Text conditioning is incorporated through either joint attention (introduced in Stable Diffusion 3) or cross-attention. T5 has emerged as the preferred text encoder across most models, with HunYuan being an exception in its use of both CLIP-L and LLaMa 3.

The denoising network itself builds on the DiT architecture developed by William Peebles and Saining Xie, while incorporating various design elements from PixArt.

There are three broad categories of generation possible when working with video models:.

It has been revealed that going from a text (and other conditions) to a video is just a few lines of code. Below we show how to do text-to-video generation with the LTX-Video model from Lightricks.

The memory requirements for any model can be computed by adding the following:.

Industry observers note that memory required by weights can be lowered via - quantization, downcasting to lower dtypes, or by offloading to CPU. Memory required for activations states can also be lowered but that is a more involved process, which is out of the scope of this blog.

It is possible to run any video model with extremely low memory, but it comes at the cost of time required for inference. If the time required by an optimization technique is more than what a user considers reasonable, it is not feasible to run inference. Diffusers provides many such optimizations that are opt-in and can be chained together.

In the table below, we provide the memory requirements for three popular video generation models with reasonable defaults:.

These numbers were obtained with the following settings on an 80GB A100 machine (full script here):.

These requirements are quite staggering, and make these models difficult to run on consumer hardware. With Diffusers, users can opt-in to different optimizations to reduce memory usage. The following table provides the memory requirements for HunyuanVideo with various optimizations enabled that make minimal compromises on quality and time required for inference.

We used HunyuanVideo for this study, as it is sufficiently large enough, to show the benefits of the optimizations in a progressive manner.

*8Bit models in bitsandbytes cannot be moved to CPU from GPU, unlike the 4Bit ones. ^The memory usage does not reduce further because the peak utilizations come from computing attention and feed-forward. Using Flash Attention and Optimized Feed-Forward can help lower this requirement to ~5 GB.

It has been revealed that we used the same settings as above to obtain these numbers. Also note that due to numerical precision loss, quantization can impact the quality of the outputs, effects of which are more prominent in videos than images.

It has been revealed that we provide more details about these optimizations in the sections below along with some code snippets to go. But if you're already feeling excited, we encourage you to check out our guide.

Sources indicate that video generation can be quite difficult on resource-constrained devices and time-consuming even on beefier GPUs. Diffusers provides a suite of utilities that help to optimize both the runtime and memory consumption of these models. These optimizations fall under the following categories:.

Below, we provide a list of some advanced optimization techniques that are right now work-in-progress and will be merged soon:.

In a recent development, below is an example of applying 4bit quantization, vae tiling, cpu offloading, and layerwise casting to HunyuanVideo to reduce the required VRAM to just ~6.5 GB for 121 x 512 x 768 resolution videos. To the best of our knowledge, this is the lowest memory requirement to run HunyuanVideo among all available implementations without compromising speed.

According to recent reports, install Diffusers from source to try out these features! Some implementations are agnostic to the model being used, and can be applied in other backends easily - be sure to check it out!

We can also apply optimizations during training. The two most well-known techniques applied to video models include:.

We refer the readers to this guide for a detailed take on video generation and the current possibilities in Diffusers.

We’ve created finetrainers - a repository that allows you to easily fine-tune the latest generation of open video models. For example, here is how you would fine-tune CogVideoX with LoRA:.

In a recent development, we used finetrainers to emulate the "dissolve" effect and obtained promising results. Check out the model for additional details.

We anticipate significant advancements in video generation models throughout 2025, with major improvements in both output quality and model capabilities. Our goal is to make using these models easy and accessible. We will continue to grow the finetrainers library, and we are planning on adding many more features: Control LoRAs, Distillation Algorithms, ControlNets, Adapters, and more. As always, community contributions are welcome 🤗.

Our commitment remains strong to partnering with model publishers, researchers, and community members to ensure the latest innovations in video generation are within reach to everyone.

Sources indicate that we cited a number of links throughout the post. To make sure you don’t miss out on the most important ones, we provide a list below:.

Acknowledgements: Thanks to Chunte for creating the beautiful thumbnail for this post. Thanks to Vaibhav and Pedro for their helpful feedback.

Thanks for the great blog post!

It has been revealed that the blog post, titled "State of Open Video Generation Models in Diffusers," was published on January 27, 2025, by Sayak Paul and others at Hugging Face. It focuses on the advancements and current state of video generation models within the 🤗 Diffusers library, a popular open-source toolkit for diffusion models used in generating images, audio, videos, and more. The post likely builds on Hugging Face’s ongoing efforts to democratize AI through open science and open-source tools, as highlighted in the web results.

Key Points (Inferred from Context and Web Results):.

Industry observers note that focus on Video Generation Models:The blog discusses state-of-the-art diffusion models for video generation, building on the success of image and audio generation models. It likely references recent developments, such as OpenAI’s Sora demo (mentioned in web result 1), which showcased impressive video generation capabilities in 2024. It emphasizes the challenges of video generation, such as maintaining temporal consistency across frames, as noted in web result 2 (Lil’Log on diffusion models for video).

Sources indicate that diffusers Library Highlights:The post details how the Diffusers library supports video generation through pretrained models, pipelines, and noise schedulers. Web result 0 (GitHub - huggingface/diffusers) describes Diffusers as a "go-to library" for diffusion models, offering modular tools for inference and training, which likely forms the technical backbone of the blog.

It may include practical examples, such as how to use pipelines for video generation with just a few lines of code, and advanced optimization techniques like re-use of attention and MLP states (from web result 1).Open-Source and Accessibility:.

Hugging Face’s mission to advance and democratize AI is central, as seen in web result 1. The blog probably highlights open-source video models (e.g., CogVideoX, Stable Video Diffusion) and tools like finetrainers, a repository for fine-tuning video models, as mentioned in the web results.It could also discuss how developers can contribute to or build upon these models, aligning with the library’s modularity and community-driven approach.

Recent Developments (as of January 2025):Given the publication date, the blog likely covers progress in 2025, anticipating "significant advancements" in video generation quality and capabilities throughout the year (web result 1).It may reference fine-tuning techniques (e.g., LoRA, ControlNets, Adapters) and upcoming features in the Diffusers library, as outlined in web result 1.

Recent findings suggest that why It’s Interesting (for the Human):The Human’s interest in this post and the blog suggests a curiosity about AI advancements, particularly in video generation. The blog ties into cutting-edge AI research, open-source tools, and practical applications, which align with xAI’s mission (and mine as Grok 3 mini) to accelerate human scientific discovery.It’s also relevant given the rapid progress in generative AI, with models like Sora setting benchmarks, and Hugging Face’s role as a leader in making these tools accessible.Potential Content in the Blog:.

Technical Details: Descriptions of diffusion pipelines (e.g., VDM, Imagen Video from web result 2), model architectures, and optimization techniques.

Conclusion:The blog post at huggingface.co/blog/video_gen is a deep dive into the state of open-source video generation models in Diffusers, published in early 2025. It’s a technical yet accessible resource for AI researchers, developers, and enthusiasts interested in the latest in video AI, reflecting Hugging Face’s commitment to open science. Sayak Paul’s promotion of it on X underscores its importance and his desire for broader engagement, making it a compelling topic for your interest in AI and X posts. If you’d like, I can help you explore specific sections, related tools, or even draft a response for Sayak!

Wonderful resource to start with!

This is a great overview, especially the discussion around how video generation is fundamentally harder than image generation because temporal consistency, motion dynamics, and conditioning all have to work together.

One thing that has become increasingly crucial in practice is the workflow around these models. For many creators, starting from an image can be more controllable than generating everything from text, especially when character appearance, composition, or a specific visual style needs to be preserved in the resulting video. The challenge is not only choosing a good model, but also having a practical way to experiment with different models and workflows without setting up and maintaining a large local GPU environment.

That is one reason image-to-video has become such an interesting part of the video generation ecosystem. For anyone experimenting with different models and approaches, this Image to Video workflow can also be useful for turning existing images into videos and comparing different generation approaches.

→ Read original article