A Discord bot for generating images using Stable Diffusion 3.
- Generate images from text prompts using Stable Diffusion 3.
- Easy to set up and run.
- Real-time interaction on Discord.
- Python
- GPU with CUDA installed
- Discord Developer account
-
Clone the repository:
git clone https://github.com/RocketGod-git/stable-diffusion-3-discord-bot.git cd stable-diffusion-3-discord-bot
-
Configure your tokens:
- Open
config.json
and add your Discord bot token and Huggingface token:{ "discord_bot_token": "YOUR-DISCORD-BOT-TOKEN-GOES-HERE", "huggingface_token": "YOUR-HUGGINGFACE-TOKEN-GOES-HERE" }
- Open
-
Run the bot using the batch script:
sd3bot.bat
-
Setup the bot in Discord Developer Portal. I can't help with this so you'll have to figure it out.
- Use the
/sd3
command in Discord followed by your prompt to generate an image.
Help make this better! Submit a PR if you have an improvement.