talira

CogVideoX

Open-weight text-to-video and image-to-video models from Zhipu AI

source availableApache-2.0 AND The CogVideoX Licenseself-hostablefree

CogVideoX is a family of open-weight video generation models from Zhipu AI's Z.ai team (formerly THUDM), with the code to run and fine-tune them. CogVideoX-2B and CogVideoX-5B make 6-second, 720×480 videos at 8 frames a second from a text prompt, CogVideoX-5B-I2V starts from an image, and the CogVideoX1.5-5B models make 5- or 10-second videos at 1360×768 and 16 frames a second, with image-to-video at any resolution. They run through Hugging Face's Diffusers or the SAT code in the repository, and come with LoRA fine-tuning scripts and DDIM inversion. CogVideoX-2B is Apache-2.0; the 5B models are under the CogVideoX License, free for research and for commercial use after registering, up to 1 million monthly visits.

Problems it solves

  • generate short video clips from a text prompt on my own GPU
  • animate a still image into a few seconds of video without a paid service
  • fine-tune an open video model on my own clips with LoRA

Limitations

  • The 5B models' commercial use needs registering with Zhipu AI first, and services over 1 million visits a month need a further commercial licence1
  • The CogVideoX License bars military use and use that undermines China's national security, and is governed by Chinese law1
  • Prompts are in English; the 5B models take at most 226 tokens2
  • CogVideoX1.5-5B needs about 76 GB of GPU memory with the SAT code, or from 10 GB with Diffusers2

Alternatives

The same job

These do what CogVideoX does.

  1. HunyuanVideo Tencent's open-weight text-to-video model with over 13 billion parameters
  2. Wan 2.1 Alibaba's open-weight video generation models, from 1.3B to 14B parameters
  3. LTX-Video Lightricks' open-weight DiT video generation model, fast enough for real time
  4. LTX-2.5 Lightricks' open-weight model that generates video with synchronized audio
  5. Wan 2.2 Alibaba's open-weight mixture-of-experts video generation models

Compare CogVideoX with the top 3