1. If you receive the following error while generating text or image" You exceeded your current quota, please check your plan and billing details", it means you don't enough OpenAI credit:
2. You need to have an OpenAI Paid Plan, you can create OpenAI paid plan here:
https://platform.openai.com/account/billing/overview
You can find your OpenAI credit Usage limit here:
https://platform.openai.com/account/billing/limits