AltHub

leejet/stable-diffusion.cpp Alternatives

diffusion model inference

stable-diffusion.cpp is a pure C/C++ inference library/CLI for running a wide range of diffusion models (SD, Flux, Wan, Qwen Image, Z-Image, etc.) on local hardware.

7.1kC++MITactive ยท last push 21d agoGitHub

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

huggingface/diffusersGitHub

choose when you want a Python/PyTorch library supporting training and inference across diffusion model families rather than C/C++ portability.

๐Ÿค— Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.

34.4k
Python
Apache-2.0
active2mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

antirez/iris.cGitHub

choose when you only need Flux 2 inference and prefer a minimal pure C implementation for that single model.

Flux 2 image generation model pure C inference

2.0k
C
MIT
slowing8mo ago
EdVince/Stable-Diffusion-NCNNGitHub

choose when you want an older C++ NCNN-based SD-only inference path for low-end devices instead of a multi-model GGML engine.

Stable Diffusion in NCNN with c++, supported txt2img and img2img

1.1k
C++
BSD-3-Clause
dormant3.3y ago
black-forest-labs/fluxGitHub

choose when you want the official Python/PyTorch reference for FLUX.1 models specifically rather than a multi-model C++ engine.

Official inference repo for FLUX.1 models

26.0k
Python
Apache-2.0
slowing1.2y ago

End-user tools

Does the same job, but ships as an app. Useful to a person, not swappable into a codebase.

mcmonkeyprojects/SwarmUIGitHub

choose when you want a modular browser UI that coordinates Stable Diffusion backends rather than an embeddable C/C++ engine.

SwarmUI (formerly StableSwarmUI), A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility.

4.5k
C#
MIT
active1mo ago
Woolverine94/biniouGitHub

choose when you want a self-hosted web UI covering many generative AI models without writing code.

a self-hosted webui for 30+ generative ai

1.1k
Python
GPL-3.0
active20d ago
Comfy-Org/ComfyUIGitHub

choose when you want a node-graph GUI and API for diffusion workflows instead of a lightweight native C++ engine.

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.

131.2k
Python
GPL-3.0
active1mo ago
invoke-ai/InvokeAIGitHub

choose when you want a polished creative GUI with canvas and tooling, not a headless C++ runtime.

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.

28.3k
Python
Apache-2.0
active20d ago
varunshenoy/opendreamGitHub

choose when you want a portable web UI/API for diffusion generation instead of a C++ runtime.

An extensible, easy-to-use, and portable diffusion web UI ๐Ÿ‘จโ€๐ŸŽจ

1.7k
JavaScript
MIT
dormant3.2y ago
xororz/local-dreamGitHub

choose when you want an Android app running Stable Diffusion with NPU acceleration rather than embedding C++ yourself.

Run Stable Diffusion on Android Devices with Snapdragon NPU acceleration. Also supports CPU/GPU inference.

3.4k
Kotlin
NOASSERTION
active3mo ago

Listed as an alternative to

These projects were analysed and named stable-diffusion.cpp among their alternatives. The relationship is not symmetric โ€” how stable-diffusion.cpp rates them is a separate judgement, made when stable-diffusion.cpp is analysed in its own right.

Comfy-Org/ComfyUIGitHub

calls stable-diffusion.cpp โ€œChoose it for embedded/CPU or low-dependency C++ inference without the Python runtime, at the cost of no graph editor or node ecosystem.โ€

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.

131.2kPythonactive
huggingface/diffusersGitHub

calls stable-diffusion.cpp โ€œA C/C++-native diffusion inference engine; choose for lightweight, dependency-free embedded or CPU deployment.โ€

๐Ÿค— Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.

34.4kPythonactive
invoke-ai/InvokeAIGitHub

calls stable-diffusion.cpp โ€œchoose for lightweight pure C/C++ SD inference and CLI when you lack a Python WebUI stack.โ€

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.

28.3kPythonactive
vladmandic/sdnextGitHub

calls stable-diffusion.cpp โ€œchoose it to embed diffusion inference in C/C++ apps or run on low-resource hardware without a Python web stack.โ€

SD.Next: All-in-one WebUI for AI generative image and video creation, captioning and processing

7.3kPythonactive
mflux-community/mfluxGitHub

calls stable-diffusion.cpp โ€œChoose when you need the same diffusion models in pure C/C++ with no Python or Apple-only MLX dependency.โ€

Apple MLX native implementations of state-of-the-art generative image & video models

2.4kPythonactive