2.7 KiB
2.7 KiB
🔌 stable-diffusion-webui Plugin
🗺 Contents – ℹ️ About · 📦 Installation · 🤝 Contract · 🔮 Future
🚧 👷 PLUGINS ARE EXPERIMENTAL AND NOT FINAL 🛠 🚧
The contract and implementation are likely to change...
ℹ️ About
In order to make StableStudio easier to extend, we've ripped out the "back-end" into a plugin system.
This means you can implement an entirely different inference stack, StableStudio doesn't care if it's local or a hosted API.
This is a basic implement for stable-diffusion-webui plugin.
⚙️ Usage
- On stable-diffusion-webui side, edit webui-user.bat and
set COMMANDLINE_ARGS=--nowebui --cors-allow-origins=http://localhost:3000
Then start your webui. - Once you see INFO: Uvicorn running on http://127.0.0.1:7861, means you started webui on api mode successfully. you can open http://127.0.0.1:7861/docs to double check.
- On StableStudio side, run
yarn dev:use-webui-plugin - once the server started, click settings to check this plugin loaded successfully or not.

- click Dream, your webui server should start to process your request from StableStudio.
- if you need to load existing from webui, you also need to install the extension sd-webui-StableStudio)
Still, currently this plugin is a basic implement for webui, and only support a few of features:
- txt2img
- basic features (prompt, negative prompt, steps, batch_size, image size)
- features provided by StableStudio
- model select
- sampler select
- img2img
- mask/inpaint/outpaint
- store settings
- webui status could replace images generated status
- load existing images (need an extension on webui: sd-webui-StableStudio)
- Need to think about how to deal with extensions ecosystem in webui (made a start with sd-webui-StableStudio)
- upscale
- test and bugs fix (working)
- Lora support
- plugin could use path in settings along with a field for extra cli flags to launch webui on startup
- MacOS and Linux support (since I don’t have environment with MacOS/Linux, may need someone help with this)
- many other features from webui...
