LTX-Video实现秒级高清视频生成,通过融合编码与去噪提升效率。
LTX-Video: Realtime Video Latent Diffusion
- 将VAE与Transformer深度融合,实现端到端视频生成
- 1:192压缩比下5秒768x512视频仅需2秒生成
- 支持文生图、图生视频,适合实时应用开发
我们提出LTX-Video,一种基于Transformer的潜空间扩散模型,通过整合Video-VAE与去噪Transformer的职责,实现端到端视频生成。其核心是高压缩率的Video-VAE,实现1:192压缩比,时空降采样为32×32×8像素/令牌,通过将分块操作移至VAE输入端实现。在高度压缩的潜空间中,Transformer可高效执行全时空自注意力,保障高分辨率视频的时间一致性。为保留细节,解码器同时完成潜空间到像素的转换与最终去噪,直接输出清晰图像,避免额外上采样开销。模型支持文本到视频与图像到视频生成,两者同步训练。在Nvidia H100 GPU上,以24帧/秒生成5秒768×512视频仅需2秒,速度超越同类规模模型。代码与预训练模型已开源,树立了可访问、可扩展视频生成的新基准。
原文摘要 · Abstract (English)
We introduce LTX-Video, a transformer-based latent diffusion model that adopts a holistic approach to video generation by seamlessly integrating the responsibilities of the Video-VAE and the denoising transformer. Unlike existing methods, which treat these components as independent, LTX-Video aims to optimize their interaction for improved efficiency and quality. At its core is a carefully designed Video-VAE that achieves a high compression ratio of 1:192, with spatiotemporal downscaling of 32 x 32 x 8 pixels per token, enabled by relocating the patchifying operation from the transformer's input to the VAE's input. Operating in this highly compressed latent space enables the transformer to efficiently perform full spatiotemporal self-attention, which is essential for generating high-resolution videos with temporal consistency. However, the high compression inherently limits the representation of fine details. To address this, our VAE decoder is tasked with both latent-to-pixel conversion and the final denoising step, producing the clean result directly in pixel space. This approach preserves the ability to generate fine details without incurring the runtime cost of a separate upsampling module. Our model supports diverse use cases, including text-to-video and image-to-video generation, with both capabilities trained simultaneously. It achieves faster-than-real-time generation, producing 5 seconds of 24 fps video at 768x512 resolution in just 2 seconds on an Nvidia H100 GPU, outperforming all existing models of similar scale. The source code and pre-trained models are publicly available, setting a new benchmark for accessible and scalable video generation.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。