leejet/stable-diffusion.cpp
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++ observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 99
- Release rhythm 87
- Longevity 79
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 1116
- days_rel: 8
- days_push: 7
- n_releases_24m: 530
Adoption not part of the score
6846 stars · 753 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A pure C/C++ inference engine for diffusion models (Stable Diffusion, FLUX, Wan, Qwen Image, Z-Image, and more) built on ggml in the style of llama.cpp. It ships as a lightweight dependency-free library plus CLI with text-to-image, image-to-image, image editing, and video generation support.
Use cases
- generate images from text prompts without python
- run stable diffusion inference in pure C++
- run FLUX or Qwen Image models locally on CPU or GPU
- embed diffusion model inference into a C++ application
- convert text to image from the command line
- run image editing models like FLUX Kontext locally
- generate videos with Wan or LTX models
When to choose
- you need lightweight, dependency-free diffusion inference in C/C++
- you want llama.cpp-style local inference without Python or PyTorch
- you need to embed image generation into a native application
- you want broad model support including SD, SDXL, SD3, FLUX, and Wan
When to avoid
- you need the full Python ecosystem of diffusers pipelines and extensions
- you want a polished GUI-first image generation tool
- you need a frozen, stable API - the project is under active development and interfaces change frequently
Facets
library · maturity active
llm-inference image-processing cli machine-learning stable-diffusion artificial-intelligence image-processing machine-learning deep-learning gpu-computing cpp c cross-platform cli windows ggml text-to-image image-to-image diffusion-models flux stable-diffusion video-generation llama.cpp-style lightweight-inference gpu linux macos
1 source
- readme: https://github.com/leejet/stable-diffusion.cpp · fetched 2026-08-28 · 2f266719ae51
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| leejet/stable-diffusion.cpp | main | 91 |
For agents
markdown · JSON · MCP: product_card(name="leejet/stable-diffusion.cpp")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem