sertdfyguhi / stable-diffusion-bot

A discord bot for stable diffusion image generation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stable Diffusion Discord Bot

A discord bot for stable diffusion image generation using diffusers.

Commands

  • /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.

Setup

  1. Clone this repository.
git clone https://github.com/sertdfyguhi/stable-diffusion-bot.git
  1. Install required Python packages.
pip3 install -r requirements.txt
  1. Update config.py with bot token and model paths.
  2. Finally, run main.py!
py main.py

Todo

  • Img2img generation
  • Downscaling input image in img2img
  • Upscaling image
  • Inpaint generation

About

A discord bot for stable diffusion image generation.


Languages

Language:Python 100.0%