{
 "schema_version": 1,
 "generated": "2026-10-31",
 "repo": "leejet/stable-diffusion.cpp",
 "name": "stable-diffusion.cpp",
 "owner": "leejet",
 "slug": "leejet-stable-diffusion-cpp",
 "github": "https://github.com/leejet/stable-diffusion.cpp",
 "what": "stable-diffusion.cpp runs diffusion models for images and video in pure C/C++ on top of ggml, the same way llama.cpp runs language models. It supports SD 1.x, SDXL, SD3, FLUX, Qwen Image, Z-Image, Wan and LTX video and many more, with CPU, CUDA, Vulkan, Metal, OpenCL and SYCL backends, GGUF weights, LoRA, ControlNet and ESRGAN upscaling.",
 "why": "7.8k stars, talked about in 2 AI sources we track",
 "language": "C++",
 "requirements": [
  "The sd executable from the releases page, or a build from source following the build guide",
  "Model weights in .ckpt, .safetensors or .gguf format",
  "Linux, macOS or Windows; Android works through Termux",
  "Enough RAM or VRAM for the model; the performance guide covers reducing it"
 ],
 "audience_note": "Developers and tinkerers who want local image and video generation without a Python stack or a heavy web UI.",
 "risk": "none",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Content",
 "url": "https://dedupedai.com/use-cases/leejet-stable-diffusion-cpp/",
 "use_case_count": 3,
 "use_cases": [
  {
   "id": "leejet-stable-diffusion-cpp--generate-images-locally-with-one-command",
   "title": "Generate images locally with a single command",
   "best": true,
   "url": "https://dedupedai.com/use-cases/leejet-stable-diffusion-cpp/generate-images-locally-with-one-command/",
   "json": "https://dedupedai.com/use-cases/u/leejet-stable-diffusion-cpp/generate-images-locally-with-one-command.json"
  },
  {
   "id": "leejet-stable-diffusion-cpp--run-newer-image-models-on-modest-hardware",
   "title": "Run FLUX or Qwen Image on modest hardware with GGUF",
   "best": false,
   "url": "https://dedupedai.com/use-cases/leejet-stable-diffusion-cpp/run-newer-image-models-on-modest-hardware/",
   "json": "https://dedupedai.com/use-cases/u/leejet-stable-diffusion-cpp/run-newer-image-models-on-modest-hardware.json"
  },
  {
   "id": "leejet-stable-diffusion-cpp--add-local-image-generation-to-your-app",
   "title": "Add local image generation to your own app",
   "best": false,
   "url": "https://dedupedai.com/use-cases/leejet-stable-diffusion-cpp/add-local-image-generation-to-your-app/",
   "json": "https://dedupedai.com/use-cases/u/leejet-stable-diffusion-cpp/add-local-image-generation-to-your-app.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
