Skip to content

paoloqrz38/TelegramGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

TelegramGPT

simple basic python script to introduce Telegram Ai conversation with DALL-E integration

Demo example (web)

Unknown

Configuration

You need to have a personal Telegram BOT or create it using Botfather

when you are connected to your OpenAi account got your profile settings -> API

  • [ /!\ Do not share your API key, be careful ! ]

Pasted-e1663692850364

Some example here !

image-1657264719754-compressed png

How to get your chat ID ?

you need to use this bot to retrieve your ID

Troubleshooting

if you get the following error message when you run the script: openai.error.InvalidRequestError: Billing hard limit has been reached it means your free trial period is over and that you need to set up payment to generate images.
Go to the following links for more info:

If you do not have ability to pay for images (and you have already used up your free credts or they are expired), I unfortunately can't help you since the Image model is on a pay per use basis.

Requirements (python modules)

Python3