GPT Image 2 API: Developer Access Guide
How to call GPT Image 2 via the OpenAI Images API — endpoint, model ID, parameters, and pricing as of April 2026.
GPT Image 2 is accessible through OpenAI's Images API (POST /v1/images/generations) using the model ID gpt-image-1. As of April 2026, API access is available to OpenAI API users on qualifying usage tiers. This guide summarises what is publicly known about the endpoint, parameters, and cost — always verify current details against OpenAI's official documentation, as these change without notice.
Key Points
- Endpoint: POST https://api.openai.com/v1/images/generations (same endpoint as DALL-E 3, different model param).
- Model ID in the API: gpt-image-1 (the consumer brand name is "GPT Image 2").
- Supported output sizes include 1024×1024, 1024×1536, and 1536×1024; an "auto" option is also accepted.
- Quality settings (low / medium / high) control generation fidelity and affect cost per image.
- Authentication: standard OpenAI API key in the Authorization header (Bearer token).
- Access is tier-gated — check your OpenAI account dashboard to confirm eligibility.
- Rate limits and quotas are set per usage tier and subject to change; consult OpenAI's rate-limits documentation for current figures.
Frequently Asked Questions
What is the API model ID for GPT Image 2?
OpenAI lists it as gpt-image-1 in the API. The consumer brand name "GPT Image 2" refers to the same underlying model. Always use the model ID exactly as documented on OpenAI's platform pages, as it may be updated.
Do I need a special tier to use the GPT Image 2 API?
As of April 2026, based on publicly available information, API access to gpt-image-1 is available to users on qualifying OpenAI usage tiers. If you cannot select the model, your account may need to meet a minimum spend threshold or be on a specific plan. Check your OpenAI dashboard or OpenAI's help centre for current eligibility requirements.
How much does a GPT Image 2 API call cost?
Pricing is set by OpenAI and depends on image size and quality setting. OpenAI's official pricing page (platform.openai.com/docs/pricing) is the authoritative source. We do not reproduce specific figures here because they are subject to change without notice.
Can I use GPT Image 2 for image editing (inpainting) via the API?
The gpt-image-1 model supports image editing (POST /v1/images/edits) in addition to generation. As of April 2026 this capability was publicly documented by OpenAI, but you should verify current support in the official API reference before building against it.
Is the API available globally?
OpenAI operates access restrictions that vary by country and may change over time. Refer to OpenAI's usage policies and regional availability pages for the most up-to-date information.