A discord bot for stable diffusion image generation using diffusers.
- /text2img: Generates an image using a text2img.
- /img2img: Generates an image using a img2img.
- /upscale: Upscales an image using ESRGAN.
- /stop: Stops current generation.
- /stop_all: Stops all generations requested by user.
- /models: Lists all available models.
- Clone this repository.
git clone https://github.com/sertdfyguhi/stable-diffusion-bot.git
- Install required Python packages.
pip3 install -r requirements.txt
- Update
config.py
with bot token and model paths. - Finally, run
main.py
!
py main.py
- Img2img generation
- Downscaling input image in img2img
- Upscaling image
- Inpaint generation