Show HN: Krita Stable Diffusion Plugin for Windows and Linux https://ift.tt/8nzvT3g

Show HN: Krita Stable Diffusion Plugin for Windows and Linux 17 days ago I showed off a plugin I created for Krita that allowed you to run Stable Diffusion. It was only for linux and required you to install lots of python dependencies. Now Stable Diffusion is being compiled with Pyinstaller and all its dependencies and I have added Windows support. Now all you have to do is run the server and pass it a PID (this manual passing of a PID will be removed in the next release). Here's how it works: * I forked and cleaned up Stable Diffusion https://ift.tt/0ZUzNiV... that's what this version is using to compile it. * The Krita plugin is just a basic client that communicates with the "sdrunner.exe" process ("kritastablediffusion" on linux) * That process opens up a local socket server on port 50006, while the Krita plugin runs a socket client on the same port * binary json strings are passed betwee server and client, server gets a request and runs Stable Diffusion (which it keeps "hot" in GPU memory waiting for requests) * after an image is generated it is stored to disc, the response is sent to Krita * Krita imports the image I plan to add more features, including more models and a cloud service. If you like what you see, please consider starring the repo or even supporting me on GitHub. This project is currently my primary focus. https://ift.tt/RJqoDlG September 28, 2022 at 07:05AM

Comments

Popular posts from this blog