{"id":20855688,"url":"https://github.com/spensercai/sd-webui-discord-ex","last_synced_at":"2025-05-12T06:31:20.465Z","repository":{"id":190217796,"uuid":"682181800","full_name":"SpenserCai/sd-webui-discord-ex","owner":"SpenserCai","description":"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.","archived":false,"fork":false,"pushed_at":"2023-10-08T04:45:17.000Z","size":336,"stargazers_count":24,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-06T14:03:23.851Z","etag":null,"topics":["api","cluster","discord","discord-bot","sd-webui","stable-diffusion-webui","stable-diffusion-webui-plugin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpenserCai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-23T16:06:33.000Z","updated_at":"2024-10-17T05:24:06.000Z","dependencies_parsed_at":"2023-08-23T18:05:07.072Z","dependency_job_id":"fad2d77b-6100-4c3d-b62d-a6ee389620b1","html_url":"https://github.com/SpenserCai/sd-webui-discord-ex","commit_stats":null,"previous_names":["spensercai/sd-webui-discord-ex"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpenserCai%2Fsd-webui-discord-ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpenserCai%2Fsd-webui-discord-ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpenserCai%2Fsd-webui-discord-ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpenserCai%2Fsd-webui-discord-ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpenserCai","download_url":"https://codeload.github.com/SpenserCai/sd-webui-discord-ex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253687516,"owners_count":21947692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","cluster","discord","discord-bot","sd-webui","stable-diffusion-webui","stable-diffusion-webui-plugin"],"created_at":"2024-11-18T04:20:19.857Z","updated_at":"2025-05-12T06:31:20.123Z","avatar_url":"https://github.com/SpenserCai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n * @Author: SpenserCai\n * @Date: 2023-08-24 00:06:52\n * @version: \n * @LastEditors: SpenserCai\n * @LastEditTime: 2023-08-27 15:19:10\n * @Description: file content\n--\u003e\n# SD-WEBUI-DISCORD-EX\nThis is an extension of [SD-WEBUI-DISCORD](https://github.com/SpenserCai/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](https://github.com/SpenserCai/sd-webui-discord) project.\n\n\u003cimg src=\"./.github/image/controlnet_2.jpeg\" /\u003e\n\n## Usage\nYou need to install the following extensions on the SD webui:\n\n[sd-webui-segment-anythin](https://github.com/continue-revolution/sd-webui-segment-anything)\n\n[sd-weubi-deoldify](https://github.com/SpenserCai/sd-webui-deoldify)\n\n[stable-diffusion-webui-rembg](https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg)\n\n[sd-webui-roop](https://github.com/s0md3v/sd-webui-roop)\n\n[sd-webui-controlnet](https://github.com/Mikubill/sd-webui-controlnet)\n\n***\n\n1. Install this extensions from the 'Extensions' tab page of the Stable Diffusion WebUI.\n\n2. Create a Discord bot and get the bot token. The tutorial can be found [here](https://discord.com/developers/docs/getting-started).\n\n3. 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\": \"\"`).\n```json\n{\n    \"sd_webui\":{\n        \"servers\":[\n            {\n                \"name\":\"webui-1\",\n                \"host\":\"127.0.0.1:7860\",\n                \"max_concurrent\":5,\n                \"max_queue\":100,\n                \"max_vram\":\"20G\"\n            }\n        ]\n    },\n    \"discord\":{\n        \"token\":\"\u003cyour token here\u003e\",\n        \"server_id\":\"\u003cyour servers id here if empty all servers\u003e\"\n    }\n}\n```\n\nIf you want set default value with sd-webui\n```json\n{\n    \"sd_webui\":{\n        \"servers\":[...],\n        \"default_setting\": {\n            \"cfg_scale\": 8,\n            \"negative_prompt\": \"bad,text,watermask\",\n            \"height\":1024,\n            \"width\":1024,\n            \"steps\":32\n        }\n    }\n    ...\n}\n```\n\n4. Restart the Stable Diffusion WebUI.\n   \n5. Find `Discord` tab and click `Start` button to start the Discord bot.\n\n## Tips\n1. 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspensercai%2Fsd-webui-discord-ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspensercai%2Fsd-webui-discord-ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspensercai%2Fsd-webui-discord-ex/lists"}