Skip to content

xeust/telemage

Repository files navigation

Your personal Telegram bot that uses DALL-E on Deta Space. Send a prompt via Telegram, and Telemage will use DALL-E to generate an image, store it in Drive and send it back to you.

Setup

  1. Install the Telemage app on Deta Space.
  2. In Telegram, open search, search for Botfather and add it as a contact. Talk to BotFather and create a Telegram bot (using the /newbot command). BotFather will ask for a bot name and username, then it will give you a bot key.
  3. Paste the bot key from BotFather into the TELEGRAM configuration variable on Space (to get to Configuration, click the ..., then 'Settings' then 'Configuration' from the App's Tile on your Canvas).
  4. Get an API key from Open AI. Input the Open AI API key into the OPEN_AI configuration variable on Space.
  5. Open the Telemage App from your Canvas to setup the Webhook integration with Telegram.

You are now ready to use your Bot.

Use

Add your bot (via the Bot's username from step 1) as a contact in Telegram. Start messaging it to interact with it.

Visit https://github.com/xeust/telemage for the source.

About

DALL-E Telegram Bot on Deta Space

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published