Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bgw/stable-diffusion-discord-bot
https://github.com/bgw/stable-diffusion-discord-bot
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bgw/stable-diffusion-discord-bot
- Owner: bgw
- Created: 2022-10-02T19:45:44.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-18T06:11:04.000Z (7 months ago)
- Last Synced: 2024-10-05T12:41:43.261Z (about 1 month ago)
- Language: Rust
- Size: 85 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stable Diffusion Discord Bot
Listens to messages on a Discord channel, and sends those messages to
[Stability AI's HTTP API][sdapi], to be run through Stable Diffusion.Similar to [this Python bot][python bot], but in Rust with [Serenity][].
[sdapi]: https://platform.stability.ai/docs/api-reference
[python bot]: https://replicate.com/blog/build-a-robot-artist-for-your-discord-server-with-stable-diffusion
[Serenity]: https://docs.rs/serenity/latest/serenity/## Usage
Modify `bot.toml` and add allowed channel ids.
```
STABILITY_API_KEY=... DISCORD_TOKEN=... cargo run
```## Notes
Make sure to set a spend limit on your Replicate account!