This repository was archived by the owner on Nov 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
-
API Redesign (Breaking Changes!!)The Stable Diffusion API has been made a lot lower level, dependency injection has been pretty much removed and a lot of helper methods added to make it similar in use to diffusers (well sort of). Running SD can now be as simple as: var pipeline = StableDiffusionPipeline.CreatePipeline("D:\\Repositories\\stable-diffusion-v1-5"); var promptOptions = new PromptOptions { Prompt = "Photo of a cute dog." }; var result = await pipeline.RunAsync(promptOptions); var image = result.ToImage(); await image.SaveAsPngAsync("D:\\Results\\Image.png"); What's Changed
New Contributors
Nuget Packages Updatedhttps://www.nuget.org/packages/OnnxStack.Core/0.19.0 Full Changelog: v0.17.0...v0.19.0 Example UI Builds
This discussion was created from the release v0.19.0 - API Redesign . |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment