An image generator Discord bot written in Python with no GPU requirement! It can be easily deployed to your favorite VPS for hosting.
MIT License
This is a completely free and open source AI image generator Discord bot written in Python. It has a Llama 3 based chatbot that you can ask to draw pictures! This project uses various free APIs, which allows it to run on less powerful computers.
Note: If this project is not https://github.com/mak448a/AI-Drawing-Chatbot, then it is unofficial. Please visit the official repo.
/imagine_poly
command because your generated image will be displayedThis project assumes that:
Bot
tab of thegit clone https://github.com/mak448a/horde_module helper_utils/horde_module --depth=1
python -m venv venv
venv\Scripts\activate.bat
pip install -r requirements.txt
https://console.groq.com/keys
.python run.py
and fill in all the information it asks for.Bot
tab of thepython3 -m venv venv && source venv/bin/activate && pip install -r requirements.txt
git clone https://github.com/mak448a/horde_module helper_utils/horde_module --depth=1
https://console.groq.com/keys
.python3 run.py
and fill in all the information it asks for.docker build -t ai-drawing-chatbot .
docker run -it --name chatbot ai-drawing-chatbot
If you want to manually configure the program for any reason, here's how.
Go to config.json
and set the key "model"
to the model you want.
Available Models
You must write the model exactly as it is written here.
When you are done, the edited line should look like this:
"model": "Llama3",
Go to config.json
and set the key "chatbot"
to false.
It should look like this:
"chatbot": false,
Go to config.json
and set the key "loading_gif"
to any GIF on Tenor you want!
It should look like this:
"loading_gif": "https://tenor.com/your/favorite/loading/gif",
Please note that this will break the bot if you haven't run it for the first time.
Go to config.json
and set the key "sync"
to false
.
It should look like this:
"sync": false,
Go to config.json
and set the key "image_model"
to a model that you find here.
It should look like this:
"image_model": "SDXL 1.0"
Stable Horde uses Kudos to rank users on a queue. The more Kudos you have, the higher you are on the generation queue. You can get Kudos by rating images and/or generating images for Stable Horde on your local hardware. To get more Kudos, first stick your API key here. Then, rate some images generated by other users here. After rating a few images, you should have faster generation times!
IMPORTANT: When an image says, "This rating must be x," you must rate it that. This picture is used as a Captcha to avoid spam.