Files
StableStudio1/packages/stablestudio-plugin-webui/README.md
2023-05-21 22:34:35 -04:00

1.5 KiB
Raw Blame History

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.

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
  • Lora support
  • store settings
  • load existing images
  • upscale
  • plugin could use path in settings along with a field for extra cli flags to launch webui on startup
  • webui status could replace images generated status
  • some bugs fix
  • MacOS and Linux support (since I dont have environment with MacOS/Linux, may need someone help with this)
  • Need to think about how to deal with extensions ecosystem in webui
  • many other features from webui...