CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer

Zhuoyi Yang, Jiayan Teng, Wendi Zheng, Ming Ding, Shiyu Huang +14 more
2/12/2026

No official code found. Best implementation: zai-org/CogVideo (13,027 stars, Apache-2.0, last commit 2025-11-04).

Abstract

We present CogVideoX, a large-scale text-to-video generation model based on diffusion transformer, which can generate 10-second continuous videos aligned with text prompt, with a frame rate of 16 fps and resolution of 768 * 1360 pixels. Previous video generation models often had limited movement and short durations, and is difficult to generate videos with coherent narratives based on text. We propose several designs to address these issues. First, we propose a 3D Variational Autoencoder (VAE) to compress videos along both spatial and temporal dimensions, to improve both compression rate and video fidelity. Second, to improve the text-video alignment, we propose an expert transformer with the expert adaptive LayerNorm to facilitate the deep fusion between the two modalities. Third, by employing a progressive training and multi-resolution frame pack technique, CogVideoX is adept at producing coherent, long-duration, different shape videos characterized by significant motions. In addition, we develop an effective text-video data processing pipeline that includes various data preprocessing strategies and a video captioning method, greatly contributing to the generation quality and semantic alignment. Results show that CogVideoX demonstrates state-of-the-art performance across both multiple machine metrics and human evaluations. The model weight of both 3D Causal VAE, Video caption model and CogVideoX are publicly available at https://github.com/THUDM/CogVideo.

View on arXivView PDF

Code Implementations(1)

zai-org/CogVideoCommunity100%
Apache-2.0

text and image to video generation: CogVideoX (2024) and CogVideo (ICLR 2023)

13,0271,348Shell, PythonMay 29, 202211 months agoApache-2.0
cogvideoximage-to-videollmsoratext-to-video+1 more

Similar Papers

Cite this paper

@article{yang2026cogvideox,
  title  = {CogVideoX: Text-to-Video Diffusion Models with An Expert Transformer},
  author = {Zhuoyi Yang and Jiayan Teng and Wendi Zheng and Ming Ding and Shiyu Huang and Jiazheng Xu and Yuanming Yang and Wenyi Hong and Xiaohan Zhang and Guanyu Feng and Da Yin and Xiaotao Gu and Yuxuan Zhang and Weihan Wang and Yean Cheng and Ting Liu and Bin Xu and Yuxiao Dong and Jie Tang},
  year   = {2026},
  eprint = {2408.06072},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2408.06072},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.06072.svg)](https://codeofpaper.com/paper/2408.06072)

Discussion