New: Nano Banana 2.1Try the model
API Stock
/IMAGE/gpt-image-2.5-sunburst
Image
OpenAI

GPT Image 2.5 Sunburst API

Generate and edit images with the Sunburst variant of GPT Image 2.5, with output up to 4K.

  • Text to image
  • Image editing

Starting at

$0.01

per generation

4 parameters · 3 price options

GPT Image 2.5 Sunburst playground

Input

User's prompt

Reference image URLs (URLs or base64 data URIs) for image-to-image mode

Sign in to run

Runs are charged to your balance.

Output

Output will appear here.

Check the price and run the model. Your result will appear here; browser use does not need an API key.

GPT Image 2.5 Sunburst API pricing

OptionPrice per generation
1k$0.01
2k$0.035
4k$0.05
1curl -X POST https://api.api-stock.com/api/v1/generation/create \
2 -H "Authorization: Bearer $API_STOCK_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "model": "gpt-image-2.5-sunburst",
6 "input": {
7 "prompt": "A cinematic shot of a city at dusk",
8 "size": "1:1",
9 "resolution": "1k"
10 }
11 }'

Parameters

NameTypeRequiredDefaultDescription
promptstringYes—User's prompt
urlsstring[]No—Reference image URLs (URLs or base64 data URIs) for image-to-image mode
sizestringNo1:1Output image aspect ratio. For GPT Image 2.5 models, 1:3 and 3:1 require 2k or 4k resolution.One of: auto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 5:4, 4:5, 2:1, 1:2, 3:1, 1:3, 21:9, 9:21
resolutionstringNo1kOutput image resolutionOne of: 1k, 2k, 4k

Frequently asked questions

How much does GPT Image 2.5 Sunburst cost?

GPT Image 2.5 Sunburst starts at $0.01 per generation on API Stock. The final charge depends on the selected settings.

When was GPT Image 2.5 Sunburst released?

GPT Image 2.5 Sunburst was released on September 8, 2026 and is available through API Stock.

How do I get an API key for GPT Image 2.5 Sunburst?

Create an account and API key on API Stock, then fund your balance. The same key works with GPT Image 2.5 Sunburst and other catalog models.

How do I call the GPT Image 2.5 Sunburst API?

POST to https://api.api-stock.com/api/v1/generation/create with your API key and model "gpt-image-2.5-sunburst". Use the returned task id for polling or receive a webhook.

What input parameters does GPT Image 2.5 Sunburst accept?

GPT Image 2.5 Sunburst accepts 4 input parameters, including the required field(s) prompt. See their types, defaults and allowed values above.

What happens if a GPT Image 2.5 Sunburst request fails?

API Stock automatically retries the request on a reserve provider. If every provider fails, the charge is refunded to your balance.

Can I use GPT Image 2.5 Sunburst with the same API key as other models?

Yes. Use your API Stock API key and balance for GPT Image 2.5 Sunburst and other catalog models.

Read next