2023-12-14 21:48:12 +01:00
2023-12-14 21:48:14 +01:00
2023-12-15 10:22:00 +01:00
2023-12-14 21:48:14 +01:00
2023-12-14 21:48:14 +01:00

StableDiffusion.NET

Based on
https://github.com/seasonjs/stable-diffusion.cpp-build
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 StableDiffusionParameter parameter = new StableDiffusionParameter();
using StableDiffusionImage image = sd.TextToImage("<prompt>", parameter);
Description
C# Wrapper for StableDiffusion.cpp
Readme MIT 5.4 MiB
Languages
C# 91.7%
C 7.3%
Batchfile 1%