Skip to content

Commit

Permalink
Merge pull request #13 from DarthAffe/HPPH
Browse files Browse the repository at this point in the history
Updated readme
  • Loading branch information
DarthAffe authored Jul 22, 2024
2 parents 17f3e34 + f813718 commit 2895e0e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@ If you want to add your own native-libraries or need more control over which bac
### Example
```csharp
using StableDiffusionModel sd = new(@"<path_to_model>", new ModelParameter());
using StableDiffusionImage image = sd.TextToImage("<prompt>", new StableDiffusionParameter());
IImage<ColorRGB> image = sd.TextToImage("<prompt>", new StableDiffusionParameter());
```


To process the resulting image further you can write your own extensions or install one of the [HPPH](https://github.com/DarthAffe/HPPH)-extension sets:
[HPPH.System.Drawing](https://www.nuget.org/packages/HPPH.System.Drawing)
[HPPH.SkiaSharp](https://www.nuget.org/packages/HPPH.SkiaSharp)

0 comments on commit 2895e0e

Please sign in to comment.