DarthAffe/StableDiffusion.NET
C# Wrapper for StableDiffusion.cpp
Wraps the high-performance stable-diffusion.cpp library with fluent APIs for text-to-image, image-to-image, and image editing workflows, automatically selecting GPU acceleration when available. Modular backend system allows flexible native library loading across CPU and various GPU targets. Includes event-driven logging and progress tracking, with integration points for image processing via HPPH extensions.
103 stars.
Stars
103
Forks
17
Language
C#
License
MIT
Category
Last pushed
Mar 03, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/diffusion/DarthAffe/StableDiffusion.NET"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
leejet/stable-diffusion.cpp
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
MochiDiffusion/MochiDiffusion
Run Stable Diffusion on Mac natively
xlite-dev/lite.ai.toolkit
🛠A lite C++ AI toolkit: 100+ models with MNN, ORT and TRT, including Det, Seg, Stable-Diffusion,...
ssube/onnx-web
web UI for GPU-accelerated ONNX pipelines like Stable Diffusion, even on Windows and AMD
xororz/local-dream
Run Stable Diffusion on Android Devices with Snapdragon NPU acceleration. Also supports CPU/GPU...