#2424th of 24 in Image and videoFor image, video and design, video and animation

cogvideo

Open-weight text-to-video and image-to-video diffusion models with inference and LoRA code

Stars
13.1k
License
Apache-2.0
Last commit
Nov 2025
Last release
Nov 2024
Language
Python
Stars, last 29 weeks+649
31 Mar 2026: 12,443 stars7 Apr 2026: 12,490 stars14 Apr 2026: 12,527 stars21 Apr 2026: 12,559 stars28 Apr 2026: 12,581 stars5 May 2026: 12,601 stars12 May 2026: 12,619 stars19 May 2026: 12,643 stars26 May 2026: 12,660 stars2 Jun 2026: 12,678 stars9 Jun 2026: 12,700 stars16 Jun 2026: 12,722 stars23 Jun 2026: 12,746 stars30 Jun 2026: 12,768 stars7 Jul 2026: 12,788 stars14 Jul 2026: 12,814 stars21 Jul 2026: 12,842 stars28 Jul 2026: 12,865 stars4 Aug 2026: 12,885 stars11 Aug 2026: 12,903 stars18 Aug 2026: 12,916 stars25 Aug 2026: 12,937 stars1 Sept 2026: 12,956 stars8 Sept 2026: 12,976 stars15 Sept 2026: 12,993 stars22 Sept 2026: 13,015 stars29 Sept 2026: 13,029 stars6 Oct 2026: 13,053 stars13 Oct 2026: 13,073 stars20 Oct 2026: 13,092 stars

12,443 on 31 Mar 202613,092 on 20 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

CogVideoX is a family of open text-to-video and image-to-video transformer models (2B and 5B, plus 1.5 versions) from Zhipu AI/THUDM, with inference scripts for diffusers and SAT. The repo also includes LoRA fine-tuning code, a 3D causal VAE and prompt-optimization examples. Diffusers inference runs from about 4GB (2B) or 5GB (5B) VRAM with offloading enabled.

Who it is for: Researchers and self-hosters generating video from text or images on NVIDIA GPUs

Strengths

  • Low VRAM paths: 2B from 4GB, 5B from 5GB with diffusers offloading, INT8 via torchao
  • Covers text-to-video, image-to-video and video continuation; 1.5 adds 10-second clips
  • Includes inference, LoRA fine-tuning and DDIM inversion code in one repo
  • Two inference stacks: diffusers and SAT, with weights on HuggingFace and ModelScope

Weaknesses

  • Prompts must be English and long; README recommends LLM rewriting, with a 224-226 token limit
  • Slow: CogVideoX1.5-5B takes about 1000 seconds for 5 seconds of video on one A100
  • Memory figures only tested on A100/H100; peak is about 3x without offloading
  • Last release was 2024-11-08; newer work is moving to the separate CogKit repo

What it needs

  • GPU required
  • Needs PyTorch, diffusers, SwissArmyTransformer, torchao
  • Models: CogVideoX-2B, CogVideoX-5B, CogVideoX-5B-I2V, CogVideoX1.5-5B, CogVideoX1.5-5B-I2V

Also in Image and video

See all 24
Also in Image and video
RankProjectScore
1MoneyPrinterTurboTurns a topic into a short video with script, footage, voiceover and subtitles133.6k starsMIT76 out of 100
2ComfyUINode-graph editor for running diffusion image, video, audio and 3D workflows141.1k starsGPL-3.075 out of 100
3toonflow-appInfinite-canvas tool for AI short drama and comic video production18.8k starsMIT69 out of 100
#4InvokeAIWeb UI for diffusion image generation with inpainting canvas and node workflows28.8k starsApache-2.067 out of 100
#5open-generative-aiImage, video and lip-sync studio UI that calls MuAPI, with optional local engines Live demo ↗ (opens in a new tab)31.1k starsMIT64 out of 100