StableDiffusion.NET icon indicating copy to clipboard operation
StableDiffusion.NET copied to clipboard

C# Wrapper for StableDiffusion.cpp

Results 14 StableDiffusion.NET issues
Sort by recently updated
recently updated
newest added

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.

What is the purpose of this API? Do I need to use it when running a quantized GGUF model? Thanks

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? ![image](https://github.com/user-attachments/assets/17c5a7bc-c3ef-48ca-a6d6-97d7e4fda12b)

![image](https://github.com/user-attachments/assets/33e397b9-ab3d-48f7-a411-0f4dc70731bf) 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,...