project_ai_mern_image_generation icon indicating copy to clipboard operation
project_ai_mern_image_generation copied to clipboard

please solve this error

Open sumon97690 opened this issue 2 years ago • 2 comments

SyntaxError: Unexpected token 'B', "Billing ha"... is not valid JSON

sumon97690 avatar Feb 06 '23 03:02 sumon97690

OpenAI gives $18 to new users. You have probably already spent it using one of their services. I recommend you to create another account and generate a new api key or pay to use it. Once it is set up it will not give you any more problems.

PedroLab0 avatar Feb 06 '23 18:02 PedroLab0

Greetings, Credits granted/purchased on labs.openai.com do not apply to DALL·E API. You need to add a payment method and pay $0.02 per image.

saurav4geeks avatar Feb 07 '23 10:02 saurav4geeks