mirror of
https://github.com/DarthAffe/StableDiffusion.NET.git
synced 2026-11-11 11:26:32 +00:00
Update README.md
This commit is contained in:
1 parent
4cba970697
commit
f073b9c30f
1 file changed
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
# StableDiffusion.NET
|
# StableDiffusion.NET
|
||||||
|
|
||||||
Based on
|
Based on
|
||||||
https://github.com/seasonjs/stable-diffusion.cpp-build
|
https://github.com/seasonjs/stable-diffusion.cpp-build
|
||||||
https://github.com/leejet/stable-diffusion.cpp
|
https://github.com/leejet/stable-diffusion.cpp
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@@ -13,4 +13,4 @@ Run `build.bat` to build the native libs (modify params like CUDA-builds if need
|
|||||||
using StableDiffusionModel sd = new(@"<path_to_model>", new ModelParameter());
|
using StableDiffusionModel sd = new(@"<path_to_model>", new ModelParameter());
|
||||||
using StableDiffusionParameter parameter = new StableDiffusionParameter();
|
using StableDiffusionParameter parameter = new StableDiffusionParameter();
|
||||||
using Image image = sd.TextToImage("<prompt>", parameter);
|
using Image image = sd.TextToImage("<prompt>", parameter);
|
||||||
```
|
```
|
||||||
Reference in new issue
Block a user