This plugin enables StableStudio to run using stable-diffusion-webui
, which means you can generate images entirely on your own machine!
Thanks goes to Terry Jia for the original work on this plugin.
-
First, you'll need to configure your local installation of
stable-diffusion-webui
to run without the UI and with CORS enabled.Windows
Edit the command line arguments within
webui-user.bat
:set COMMANDLINE_ARGS=--nowebui --cors-allow-origins=http://localhost:3000
Mac
Edit the command line arguments within
webui-macos-env.sh
:export COMMANDLINE_ARGS="--nowebui --cors-allow-origins=http://localhost:3000"
-
Start
stable-diffusion-webui
and look forINFO: Uvicorn running on http://127.0.0.1:7861
.You can make sure everything is running correctly by checking to see if
http://127.0.0.1:7861/docs
displays API documentation. -
Within your installation of StableStudio, run
yarn dev:use-webui-plugin
.That's it! 🎉 You should now be able to generate images using your local machine.
To persist your image history, you'll need to install the sd-webui-StableStudio
extension for stable-diffusion-webui
.
🛑 Be wary installing third-party extensions for
stable-diffusion-webui
, it's always a good idea to check before running untrusted code.
Missing something? Please let us know!
- Text-to-image
- Image-to-image
- Basic features (prompt, negative prompt, steps, batch size, image size)
- Model selection
- Sampler selection
- Masking, in-painting, and out-painting
- Settings storage
- Accurate plugin status
- Loading existing images
- Upscaling
- Lora support