Files
StableStudio/packages/stablestudio-plugin-webui
2023-05-31 13:55:51 -04:00
..
2023-05-12 10:36:19 -05:00
2023-05-31 13:55:51 -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-23 11:48:50 -05:00
2023-05-12 10:36:19 -05:00

About

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.

⚙️ Usage

  1. 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"
    
  2. Start stable-diffusion-webui and look for INFO: 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.

  3. 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.

💾 Image History

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.

Features

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