Skip to content

MadManMcIvor/InvokeAI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

587 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stable Diffusion Discord Bot

This is a fork of InvokeAI's fork of Stable Diffusion. It adds a simple Discord bot so that you can send prompts via Discord and receive images back.

This is self hosted, so it's not using any third party APIs that you'll have to pay credits for, but that means it'll only run after you've set it up and are running the program.

More Features Coming Soon (Hopefully)

The plan is to turn this into a playable game on Discord, but for now it's just a bot that receives prompts and returns the images. As I have time, I'll add more features.

Installation

  1. Set up a bot on Discord and add it to your server. Here are instructions.
  2. Follow the installation steps on InvokeAI's fork of Stable Diffusion. This article also does a good job running through the process.
  3. Instead of activating the environment as conda activate ldm, use conda activate sd_discord_bot
  4. Create a file named "bot_token.py" in the main directory. In it, create a variable and put your bot's token in like this: bot_token = 'XXXXXXXXXXXXXXXXXXXXXXXXXX'
  5. Enter python sd_discord.py into your Anaconda/Miniconda terminal. It should look like this: screenshot of the terminal
  6. Enter a prompt on your Discord Server using $prompt followed by the prompt. Example: example of how to use a prompt in discord

This was built on top of the work from:

Final Note

This is a work in progress (and also my first Discord Bot), but I was too excited not to share it before it was finished. If you have any comments, concerns, suggestions, or bugs that you notice, feel free to reach out to me on Discord (MadManMcIvor#9198)

About

This version of CompVis/stable-diffusion features an interactive command-line script that combines text2img and img2img functionality in a "dream bot" style interface, a WebGUI, and multiple features and other enhancements.

Resources

License

Stars

13 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 86.6%
  • Python 13.0%
  • Other 0.4%