Overview
GPT Image 2.5 Sunburst is an asynchronous image generation API for text-to-image and reference-guided image editing.Current implementation notice: GPT Image 2.5 Sunburst currently provides the GPT Image 2 capability baseline. Its public model ID, accepted parameters, and prices are listed on this page.
Endpoint and authentication
Base URL:Quickstart
data.taskId. Save it and poll until state becomes success or failed.
Request body
Text-to-image
Image-to-image
Parameters
string
default:"async"
required
Result delivery mode. Use
async for polling with statusTask, or callback for webhook delivery.string
Required when
request_type is callback. It must be a public HTTPS URL that can receive the final task payload. See Webhooks.object
required
GPT Image 2.5 Sunburst input parameters.
Poll for results
data.resultJson is a JSON string containing resultUrls:
state is failed and the response includes failCode and failMsg.
Billing
Billing is per successfully generated image. Prices below are in USD and retain four decimal places. Each Sunburst configuration is 10% above the corresponding Flare final price, rounded up to four decimal places.
For the live price catalog, see Pricing.