simple basic python script to introduce Telegram Ai conversation with DALL-E integration
Demo example (web)
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 ! ]
Some example here !
you need to use this bot to retrieve your ID
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:
- General OpenAI pricing ( You'd more be concerned with the Image Model pricing)
- Set up Billing information and usage limits
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.
Python3