OpenAI GPT Image 2.5
Text-to-image generation with five quality tiers, two selectable models, native transparent backgrounds and an
auto aspect ratio that lets the model choose the shape.xhigh and max), transparent backgrounds as a first-class option, and an auto aspect ratio. It keeps what the previous generation is chosen for — close adherence to long, specific prompts and legible text rendered inside the image. To edit an existing image instead of generating from scratch, see GPT Image 2.5 Edit.
Key capabilities
- Five quality tiers:
qualityacceptslow,medium,high,xhighandmax. The tier changes render quality and latency, so the same prompt can be drafted cheaply and finalised at the top of the scale - Two models in one endpoint:
variantselectsflare(latency-optimised, the default) orsunburst(editing-precision). Same parameters, same price - Auto aspect ratio:
aspect_ratiodefaults toauto, which lets the model choose the shape instead of forcing a preset - Transparent backgrounds:
background: "transparent"is native. Use it withpngorwebp, the two formats that carry an alpha channel - Batch generation: request up to 10 images in a single call with
num_images. Each image in the batch is billed - Async processing: every request returns a task ID immediately. Poll the task endpoint or supply
webhook_urlto be notified on completion
Use cases
- Marketing and advertising: on-brand key visuals where the headline or product name has to be readable inside the image
- Logos, icons and overlays: assets that need a real alpha channel rather than a white box behind them
- Packaging and print mockups: labels, boxes and signage that need real text rather than text-shaped noise
- Product and UI concepting: interface screens, dashboards and device mockups with legible captions
- Content pipelines at scale: batch variants at
low, review, then re-render the winner atmax
Generate images with GPT Image 2.5
Submit a prompt to create a generation task. The API responds with a task ID; collect the result by polling or via webhook.POST /v1/ai/text-to-image/gpt-image-2-5
Create a new image generation task
GET /v1/ai/text-to-image/gpt-image-2-5
List all GPT Image 2.5 tasks with status
GET /v1/ai/text-to-image/gpt-image-2-5/{task-id}
Get task status and results by ID
Parameters
Pricing
Thequality tier sets the price per image and resolution multiplies it:
Every image in
num_images is billed, so a 4k request for 4 images costs
twelve times a single 1k image of the same quality tier.
xhigh and max are currently billed at the high price.
The endpoint reference pages above are generated from the OpenAPI specification and are the authoritative, complete parameter list.
Frequently Asked Questions
What is GPT Image 2.5 and how does it work?
What is GPT Image 2.5 and how does it work?
GPT Image 2.5 is a text-to-image API powered by OpenAI’s GPT Image 2.5 model line. You submit a text prompt and receive a task ID immediately. Poll the task endpoint or configure a webhook to receive the generated images when processing completes.
What does the auto aspect ratio do?
What does the auto aspect ratio do?
auto is the default and lets the model choose the shape of the output instead of forcing one of the presets. It is most useful on the edit endpoint, where the output then keeps the aspect ratio of the images you sent, including ratios that are not in the preset list. Note that auto only leaves the size free at resolution: "1k"; at 2k and 4k it renders a square at that tier.What is the difference between the flare and sunburst variants?
What is the difference between the flare and sunburst variants?
They are the two models of the GPT Image 2.5 line, offered on the same endpoint with the same parameters and the same price.
flare is optimised for latency and is the default; sunburst is the editing-precision end of the line. Requests that do not set variant always resolve to flare.How do I get a transparent background?
How do I get a transparent background?
Send
background: "transparent" together with an output_format that has an alpha channel — png or webp. Asking for a transparent background with jpeg returns a 400, because JPEG cannot carry transparency and silently flattening it would corrupt the asset you asked for.What do the xhigh and max quality tiers add?
What do the xhigh and max quality tiers add?
They extend the scale past
high, spending more provider compute for the most demanding renders. They are currently billed at the high price.What is the difference between GPT Image 2.5 and GPT Image 2?
What is the difference between GPT Image 2.5 and GPT Image 2?
GPT Image 2.5 is faster at every tier, adds the
xhigh and max tiers, exposes a selectable model through variant, supports transparent backgrounds natively, and defaults to an auto aspect ratio. GPT Image 2 remains available with its three tiers and its square_1_1 default.What are the rate limits for GPT Image 2.5?
What are the rate limits for GPT Image 2.5?
Rate limits depend on your subscription tier. See Rate Limits for current limits.
How much does GPT Image 2.5 cost?
How much does GPT Image 2.5 cost?
Cost per image depends on the
quality tier and the resolution multiplier. See the Pricing page for current rates and subscription options.Best practices
- Tier the workflow: draft at
quality: "low", review, then re-run the winning prompt at a higher tier. The prompt does not need to change - Leave the shape to the model: keep the default
aspect_ratio: "auto"unless the output has to fit a fixed frame, and pick a preset when it does - Batch deliberately:
num_imagesis billed per image. Batch atlowfor exploration, generate single images at the top tiers - Write text explicitly: put the exact string you want rendered in quotes inside the prompt, and keep it short
- Pick the format before the background: a transparent render needs
pngorwebp - Production integration: use
webhook_urlinstead of polling for scalable applications - Error handling: implement retry logic with exponential backoff for 503 errors
Related APIs
- GPT Image 2.5 Edit: edit existing images with the same model line, tiers and variants
- GPT Image 2: the previous generation, with three quality tiers
- Nano Banana Pro: Google Gemini image generation, also strong at in-image text
- Seedream 5 Pro: high-resolution text-to-image with a generate and edit split