Open JohnTigue opened 1 year ago
Stability had a service just like Midjourney's on their Discord, https://discord.gg/stablediffusion. Here is how to use it: Stable Diffusion Discord BOT is back!!! How to use it, features!
Multipart DIY discord bot instructions:
Running Stable Diffusion on AWS Lambda:
I wanted to share that I've successfully put a fork of the stable diffusion (https://github.com/bes-dev/stable_diffusion.openvino) to execute on AWS Lambda.
So, that would be more cost effective since we'd only be paying for what we use, not idle servers. No GPUs in Lambas, so probably a bit slow.
Now here's a solid solution: An elastic deployment of Stable Diffusion with Discord on AWS (2022-12-23).
Looks like #58 is going to give us this for free :) Why not have our pretrained models for folks to use INSIDE our Discord. That sounds quite useful: same thing a Midjourney bot but private with our models.
Seems we need to set up a Discord app ID, a la Python Discord Bot Tutorial – Code a Discord Bot And Host it for Free.
Discord Diffusion: Bot for image generation via Stable Diffusion
A commercial service but they do talk discord integration, including code, which I've never seen before so might come in handy.
Yesterday, I stumbled upon a commercial service that is providing SD Discord bot as a service. Whatever, I'd much rather have internal control of that (this is going to get to being messy if we're not careful. Docker, please). But they did mention using the bot to entertain one's community. So, we can use it for internal Discord initially, but we should figure out how to use SD in our PUBLIC Discord, with pre-trained models that know about Al-Suya and other characters, et cetera.
During the meeting just now DanB decided we should definitely move forward with deploying this Discord bot, INTERNALLY not (yet) in the public Discord.
This thing is a hybrid architecture: A Docker-based render cluster and a Lambda-based web front, with the two connected via a SQS message queue. For our own Hypnowerk, not that I've learned that the latest AWS copilot can strap on serverless aspects… this could be greatly simplied.
Note that although this was not the immediate goal, this could (and should) be folded into hypnowerk, as both repos are MIT licensed:
This Sarakis video is about a tool we do not care about. But it also discusses some of the rigmarole for getting a bot authed in Discord, which we do care about.
For pay – after a free trial period – Midjourney has a bot that can be used in Discord servers: Use Midjourney on your own Discord Server. And, so the good peeps in the Stability centric community have reimplemented that as open source:
Here's another Apache licensed imple of SDXL 4images in Discord: