Offiical Docker image for Thingy image generation Discord bot
293
Discord bot to generate images based on a text prompt - way more than just that! Through a wide variety of tools, you can alter your generated images and share them with friends.
Integrates with DiscoArt, Stable Diffusion and other peculiarities, all rolled up in a single, sexy user interface that allows one to mix and match different configurations without a steeper learning curve!
/stable_diffusion, /disco_diffusion) results in a new chapter/upscale, /variate, /rollback! There's unlimited undo!/chaptersIn short: this bot allows you to generate images based on a text prompt, but can do way more than just that - offering a wide variety of tools to make alter your generated images.
My discord server has the bot running, both alpha and production bots are up!
As this bot is open-source, anyone can run it. Depending on the method, you need different specs. The easiest is through Docker and Jina's JCloud
Note! As we evolved from a weekend project to a larger-scale bot, things have changed a lot, and I thank you all. Please, if you use this in your own server, do get in touch with me, so we can see what works and what doesn't. Any feedback is really appreciated! Feel free to join Thingy's birthplace or shoot a line in the projects Issues page!
What you need:
Steps:
Create a directory where we will set up our bot
db.sqlite here. Keep in mind the configuration has changed slightly. Otherwise, you can ignore this.Download this file and name it config.yml, put it into the bot directory.
Once done, follow "Setting up the bot" and then go back here
Download the bot interface (communicates with the AI) from here and put it in the bot directory
The following steps are for running the AI remotely on JCloud! (Free for now!)
We need to start the Docker image:
If you're starting fresh, you can use the following command in the bot directory: docker run -v $(pwd):/opt/thingy/data -d --name=thingy peterwilli/thingy:latest
If you used an older version of Thingy (before Oct 21 2022), chances are it's already up. Run jc list either in an already spawned container, or whatever your current setup is. If there's a link, you can run jina status <id from jc list> to see if it's the thingy flow (typically contains executors like stable_diffusion_txt2img and stable_diffusion_img2img). Remove this instance! The bot will make a new one.
Once it is running, log in to JCloud by running: docker exec -it thingy jc login. You should now get a link that you can copy-paste in your browser to login.
Now you should be able to run /stable_diffusion and other peculiarities in Discord! The first time it might take a while to run.
token_from_hf in config.yml with the token you just createdhost and port under grpcServerport to 443 and plainText to false!
host does not include grpcs://!
galleryshareChannelID in the bots config.yml. Restart bot if its running!/share for showcasing your fine art!These are co-developed with Thingy!
Content type
Image
Digest
sha256:d8060499e…
Size
416.5 MB
Last updated
about 3 years ago
docker pull peterwilli/thingy