Files
StableStudio1/packages/stablestudio-plugin-webui
2023-05-22 22:56:03 -04:00
..
2023-05-12 10:36:19 -05:00
2023-05-22 22:56:03 -04:00
2023-05-12 10:36:19 -05:00
2023-05-12 10:36:19 -05:00
2023-05-12 10:36:19 -05:00
2023-05-12 10:36:19 -05:00
2023-05-22 16:53:14 -04:00
2023-05-12 10:36:19 -05:00

This is a basic implement for stable-diffusion-webui plugin.

How to use

  1. On stable-diffusion-webui side, edit webui-user.bat and
    set COMMANDLINE_ARGS=--nowebui --cors-allow-origins=http://localhost:3000
    Then start your webui.
  2. 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.
  3. On StableStudio side, run yarn dev:use-webui-plugin
  4. once the server started, click settings to check this plugin loaded successfully or not. webui-plugin overall
  5. click Dream, your webui server should start to process your request from StableStudio.
  6. 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 dont have environment with MacOS/Linux, may need someone help with this)
  • many other features from webui...