Generate pictures from text in Telegram, powered by DALL-E!
This uses the official OpenAI generations endpoint which is paid hence will require an API key from OpenAI. You'll be billed for usage accordingly. Refer to OpenAI's website for pricing.
-
Clone git repo.
-
Run
npm i
in project folder. -
Rename .env.example to .env and provide bot token & OpenAI API key.
-
Run
node bot
to start the bot.
.env reference
BOT_ADMIN refers to the channel/user ID for logging purposes.
- Use
rm -rf
.
Note: If you're unfamiliar with this command, delete project folder from file explorer.
The bot uses OpenAI's DALL-E model API.
AGPL-3.0 - ©️ Zubin