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

generative-models

Stability AI reference code for SDXL, Stable Video Diffusion, SV3D and SV4D

Stars
27.3k
License
MIT
Last commit
Dec 2025
Last release
Jul 2023
Language
Python
Stars, last 29 weeks+510
31 Mar 2026: 26,795 stars7 Apr 2026: 26,820 stars14 Apr 2026: 26,853 stars21 Apr 2026: 26,879 stars28 Apr 2026: 26,895 stars5 May 2026: 26,919 stars12 May 2026: 26,945 stars19 May 2026: 26,973 stars26 May 2026: 26,994 stars2 Jun 2026: 27,010 stars9 Jun 2026: 27,028 stars16 Jun 2026: 27,049 stars23 Jun 2026: 27,067 stars30 Jun 2026: 27,091 stars7 Jul 2026: 27,104 stars14 Jul 2026: 27,115 stars21 Jul 2026: 27,123 stars28 Jul 2026: 27,132 stars4 Aug 2026: 27,152 stars11 Aug 2026: 27,168 stars18 Aug 2026: 27,180 stars25 Aug 2026: 27,196 stars1 Sept 2026: 27,215 stars8 Sept 2026: 27,227 stars15 Sept 2026: 27,241 stars22 Sept 2026: 27,254 stars29 Sept 2026: 27,268 stars6 Oct 2026: 27,279 stars13 Oct 2026: 27,294 stars20 Oct 2026: 27,305 stars

26,795 on 31 Mar 202627,305 on 20 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Config-driven PyTorch codebase (the `sgm` package) from Stability AI for sampling and training diffusion models: SDXL 0.9/1.0, SDXL-Turbo, Stable Video Diffusion, SV3D and SV4D 2.0. It ships Streamlit and Gradio demos plus standalone sampling scripts, with PyTorch Lightning training configs. Weights are downloaded separately from Hugging Face into `checkpoints/`.

Who it is for: Researchers and engineers running or training Stability diffusion models

Strengths

  • Covers text-to-image, image-to-video, multi-view (SV3D) and video-to-4D (SV4D 2.0) in one repo
  • Config-driven modules via YAML and instantiate_from_config, with example training configs
  • Streamlit and Gradio demos plus simple CLI sampling scripts
  • Low-VRAM flags such as --encoding_t, --decoding_t and --img_size for video models

Weaknesses

  • Last release was 2023-07-27; newer models are announced only in the README
  • Weights not bundled; several have research-only or RAIL++-M licenses separate from the MIT code
  • Tested on Python 3.10 only; package does not declare dependencies
  • Manual install of PyTorch, requirements and sdata; no Docker image

What it needs

  • GPU required
  • Needs PyTorch 2.0, PyTorch Lightning, Streamlit, Hugging Face model weights, Stability-AI/datapipelines (sdata), rembg (optional)
  • Models: SDXL-base-1.0, SDXL-refiner-1.0, SDXL-Turbo, Stable Video Diffusion (SVD, SVD-XT), SV3D_u

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