StableDiffusion.NET
StableDiffusion.NET copied to clipboard
C# Wrapper for StableDiffusion.cpp
There are some unsafe code, would you like to change it to safe code only?
Thanks for bringing Stable Diffusion to .NET. The library includes helpers to convert TextToImage output into a .NET bitmap image, but I can't see any way to run ImageToImage from...
The CUDA backend cannot be used in the packaged WindowsAppSDK application, but works normally in the unpackaged WindowsAppSDK application.
and Image2Video method
What is the purpose of this API? Do I need to use it when running a quantized GGUF model? Thanks
How to call Lora?
Hello. I have simple code: ``` using HPPH; using StableDiffusion.NET; using DiffusionModel model = ModelBuilder.StableDiffusion(@"G:\path_to_checkpoints\jamJustAnotherMerge_v20bBakedvaePruned.safetensors") .WithMultithreading() .Build(); string prompt = "cat"; IImage image = model .TextToImage(prompt, model .GetDefaultParameter() .WithSteps(30) .WithCfg(8.0f)...
The limit is 1024 * 768 My device is i9-13900KF, 4090 Is there any way to solve it? 
 I am using a. NET 8 winform program, which can run directly in VS2022 without any issues. However, when packaged as a. msix package and installed on my computer,...