Supports distributed deployment of SD node's Stable Diffusion WebUi Discord bot
Go to file
SpenserCai 4892939ee6 update readme 2023-08-24 18:36:13 +08:00
.github/image update readme 2023-08-24 18:36:13 +08:00
bin exclude bin file 2023-08-24 00:19:30 +08:00
scripts fix 2023-08-24 18:18:41 +08:00
.gitignore 2023-08-24 00:20:00 +08:00
LICENSE first commit 2023-08-24 00:06:34 +08:00
README.md update readme 2023-08-24 18:36:13 +08:00
install.py fix bug 2023-08-24 11:26:01 +08:00

README.md

SD-WEBUI-DISCORD-EX

This is an extension of SD-WEBUI-DISCORD on the Stable Diffusion WebUI, which supports distributed deployment of SD node's Stable Diffusion WebUi Discord robots. The command usage on Discord can refer to the SD-WEBUI-DISCORD project.

Usage

  1. Install this extensions from the 'Extensions' tab page of the Stable Diffusion WebUI.

  2. Create a Discord bot and get the bot token. The tutorial can be found here.

  3. Set the bot token in stable-diffusion-webui/extensions/sd-webui-discord-ex/bin/config.json.Only need set host and token and server_id(if you don't know set it empty like "server_id": "").

{
    "sd_webui":{
        "servers":[
            {
                "name":"webui-1",
                "host":"127.0.0.1:7860",
                "max_concurrent":5,
                "max_queue":100,
                "max_vram":"20G"
            }
        ]
    },
    "discord":{
        "token":"<your token here>",
        "server_id":"<your servers id here if empty all servers>"
    }
}
  1. Restart the Stable Diffusion WebUI.

  2. Find Discord tab and click Start button to start the Discord bot.

Tips

  1. The installation script retrieves the binary file from the Release of SD-WEBUI-DISCORD, which is automatically compiled by Github Action. Alternatively, you can compile SD-WEBUI-DISCORD yourself and place it in the 'bin' directory of the plugin directory.