Skip to main content
Skip to main content

GPT image 2.5 Sunburst

GPT-Image 2.5 Sunburst is OpenAI's precision-first image generation and editing model - the quality lane of the GPT Image 2.5 family that shipped on September 8, 2026 alongside its speed-oriented sibling, GPT-Image 2.5 Flare.

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Brand:OpenAIInput token: $5.00/MImage input token: $8.00/MImage output token: $30.00/M

API DOCS / SIMPLIFIED

Integrate this model with one task-based API flow

GPT-Image 2.5 Sunburst is OpenAI's precision-first image generation and editing model - the quality lane of the GPT Image 2.5 family that shipped on September 8, 2026 alongside its speed-oriented sibling, GPT-Image 2.5 Flare. The examples below are rendered from GPT image 2.5 Sunburst, the current gateway base URL, and the selected public model contract.

Input mode
X-API-Key on every request
POST /api/v1/openapi/task
GET /api/v1/openapi/task/status/{task_id}
Async task workflow

Single code window

Switch language once. Each example already includes both the task creation request and the task status polling request.

Unified Example
API_KEY="<API_KEY>"
BASE_URL="https://api.musespark.ai"
REQUEST_BODY='{
  "model_id": "gpt-image-2.5-sunburst",
  "parameters": {
    "prompt": "A cinematic portrait with soft lighting",
    "quality": "medium",
    "resolution": "1k",
    "aspect_ratio": "auto",
    "batch_size": 1
  }
}'

CREATE_RESPONSE=$(curl --request POST "$BASE_URL/api/v1/openapi/task" \
  --header "X-API-Key: $API_KEY" \
  --header "Content-Type: application/json" \
  --data-raw "$REQUEST_BODY")

TASK_ID="<TASK_ID_FROM_CREATE_RESPONSE>"

curl "$BASE_URL/api/v1/openapi/task/status/$TASK_ID" \
  --header "X-API-Key: $API_KEY"

Request and response JSON become the documentation

Keep the payload and task status envelope as the primary contract. Field descriptions, optionality, and enum hints now live inline as JSON comments.

Request Body

Caller payload

This is the request envelope accepted by the public gateway for the selected model contract.

Field comments and caller parameters come directly from the current item's model schema.
{
"model_id": "gpt-image-2.5-sunburst",// target model
"parameters": {
"prompt": "A cinematic portrait with soft lighting",// prompt describing the image to generate or how to edit the input images
"quality": "medium",// select output quality explicitly. Medium is selected by default. Auto is dynamic and has no fixed estimate · enum: Auto | Low | Medium | High | Extra High | Max
"resolution": "1k",// output resolution tier: 1K, 2K, or 4K. Defaults to 1K · enum: 1K | 2K | 4K
"aspect_ratio": "auto",// output aspect ratio: Auto or one of the ten supported ratios. Defaults to Auto · enum: Auto | 1:1 | 16:9 | 9:16 | 4:3 | 3:4 | 3:2 | 2:3 | 5:4 | 4:5 | 21:9
"batch_size": 1// standard quantity control field. The allowed range for this item is 1-15 · min 1 · max 15
}
}
Response Body

Gateway response

This is the task status response you will query with task_id until the task reaches a terminal state.

Poll every 2-5 seconds and stop once status becomes completed, failed, cancelled.
{
"code": 200,// 200 on success
"msg": "success",
"data": {
"task_id": "task_01HQX8N2QJ0YQ8Q0T7G6N4V6K2",// use for status polling
"status": "completed",// enum: queued | running | completed | failed | cancelled
"progress": 100,// 0-100 if available
"completed_at": 1760000000,// unix timestamp
"expires_at": 1760001800,// unix timestamp
"result": {
"output_urls": [// generated files
"https://cdn.example.com/output.png"
]
}
}
}