stable-diffusion.cpp and StableDiffusion.NET

StableDiffusion.NET is a C# wrapper that provides language bindings for the underlying C++ inference engine, making them complements designed to be used together rather than alternatives.

stable-diffusion.cpp
69
Established
StableDiffusion.NET
52
Established
Maintenance 23/25
Adoption 10/25
Maturity 16/25
Community 20/25
Maintenance 10/25
Adoption 9/25
Maturity 16/25
Community 17/25
Stars: 5,579
Forks: 551
Downloads:
Commits (30d): 32
Language: C++
License: MIT
Stars: 103
Forks: 17
Downloads:
Commits (30d): 0
Language: C#
License: MIT
No Package No Dependents
No Package No Dependents

About stable-diffusion.cpp

leejet/stable-diffusion.cpp

Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++

Built on ggml with zero external dependencies, it supports diverse architectures—image generation (SD1.x through FLUX.2), video (Wan2.1/2.2), and editing models—alongside LoRA, ControlNet, and quantized GGUF weights. Multi-backend acceleration includes CUDA, Vulkan, Metal, and OpenCL, with optimizations like Flash Attention, VAE tiling, and latent consistency models for efficient CPU/edge deployment.

About StableDiffusion.NET

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.

Scores updated daily from GitHub, PyPI, and npm data. How scores work