mirror of
https://github.com/DarthAffe/StableDiffusion.NET.git
synced 2025-12-12 21:38:45 +00:00
StableDiffusion.NET
Based on https://github.com/leejet/stable-diffusion.cpp
Usage
Setup
Run build.bat to build the native libs (modify params like CUDA-builds if needed)
Example
using StableDiffusionModel sd = new(@"<path_to_model>", new ModelParameter());
using StableDiffusionImage image = sd.TextToImage("<prompt>", new StableDiffusionParameter());
Languages
C#
91.7%
C
7.3%
Batchfile
1%