DarthAffe/StableDiffusion.NET
C# Wrapper for StableDiffusion.cpp
This is a tool for software developers who want to integrate Stable Diffusion’s image generation capabilities into their .NET applications. It takes text descriptions or existing images as input and generates new images based on those inputs. Developers can use this to build features like text-to-image generation or image-to-image editing directly into their C# programs.
103 stars.
Use this if you are a C# developer looking to embed local Stable Diffusion image generation and editing functionality into your .NET application without directly interacting with C++.
Not ideal if you are a non-developer seeking an end-user application to generate or edit images, or if you prefer to work with Python or other programming languages.
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.
Compare
Related models
leejet/stable-diffusion.cpp
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
xlite-dev/lite.ai.toolkit
đź› A lite C++ AI toolkit: 100+ models with MNN, ORT and TRT, including Det, Seg, Stable-Diffusion,...
MochiDiffusion/MochiDiffusion
Run Stable Diffusion on Mac natively
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...