Skip to content

Installation

SpenserCai edited this page Sep 11, 2023 · 4 revisions

Preparation

OS

The following systems have been tested and theoretically support all x64 Windows and Linux systems

  • Ubunutu 22.04
  • Windows 10
  • Windows 11

Stable Diffusion Webui

Ensure that your "stable-diffusion-webui" version and extension meet the following requirements

Version: >=1.6.0

Extensions

Discord App

Create a bot account on Discord and get the token. How To Create Discord App.

Using Release Version

Download lastest version

tar -zxvf sd-webui-discord-release-v*.tar.gz # unzip the release package
cd sd-webui-discord-release-v*/release/

Configuration see here

# if you can't connect discord,you need use proxy and run this command:
# export https_proxy=http://127.0.0.1:8888;export http_proxy=http://127.0.0.1:8888;
./sd-webui-discord

Build

The compilation script already has the function of cross compilation. Executing the following commands in Linux can complete the compilation of both Windows and Linux versions simultaneously:

bash build.sh
Clone this wiki locally