Billing and FAQ
Learn how API credits are charged and review common integration questions.
API playground
Send a real request to this site and inspect the HTTP response immediately.
Send a request to view its response here.Credits-based API billing
GPTImage25 generation requests reserve and settle credits through the existing AI Studio generation flow.
API usage is billed with credits.
Each generation can consume credits based on the selected model, output type, duration, quality, resolution, and pricing row.
Users can check remaining credits from the account or /api/auth/user.
Generation is blocked when the account has insufficient credits.
GPTImage25 API FAQ
Answers about authentication, image requests, credits, and task status.
How do I get an API key?
Log in, open the API Keys dashboard, and create an active key. Use it as Authorization: Bearer YOUR_API_KEY.
How do I authenticate API requests?
Send the API key in the Authorization header using the Bearer format on every request.
How is API usage billed?
Generation calls use account credits. The consumed amount depends on the model and selected pricing options.
Can I edit a reference image through the API?
Use an image model whose schema accepts reference images. Check its upload format and fields, then combine the reference with an editing prompt.
Does the API support AI image generation?
Yes. Use an image model exposed by the current schema. The documentation includes image requests, task status, and credit billing; GPT Image 2.5 access on this site is not yet confirmed.
How do I check generation status?
After the execute endpoint returns taskId and statusSupported is true, poll /api/ai-studio/tasks/{taskId}?modelId={modelId}.
Where can I view generation history?
Use /api/ai-studio/video-history for paginated generation history.
What happens if I run out of credits?
New generation requests cannot continue when the account does not have enough credits.