الأربعاء، 28 سبتمبر 2022

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

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 I am compiling Stable Diffusion with Pyinstaller and all its dependencies and have added Windows support. 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/7CXzc2Y... 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 between 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/7gqRpCj September 28, 2022 at 06:05PM

ليست هناك تعليقات: