stable-diffusion-telegram-bot
stable-diffusion-telegram-bot copied to clipboard
AI Powered Art in a Telegram Bot!
Setup
Bot uses Stable Diffusion Api as the backend.
You need a stable Diffusion API for this bot to run
Create a file called .env in the same folder as main.py. Inside the .env file,
create a line TOKEN = xxxx, where xxxx is your telegram bot token.
create a line API_ID = xxxx, where xxxx is your telegram id api id.
create a line API_HASH = xxxx, where xxxx is your telegram id api hash.
create a line KEY = xxxx, where xxxx is your https://stablediffusionapi.com/settings/api api key.
Now, you can run the bot
python main.py