GPT Image 2.6 Sunburst
gpt-image-2.6-sunburstUse the GPT Image 2.6 Sunburst API for image generation, editing and gifs. Start with a text prompt for a new image or GIF, or supply a reference image for an edit. Create product mockups, campaign visuals, and short animations. Compare the available provider routes, request examples, and usage prices on OpenAny.
- Published price
- From $0.020 / image
- Billing unit
- / image
- Context / Max output
- — / —
- Listed routes
- 1
Output settings
Result preview
yir · 26ms
This example shows the response structure. Generated images appear here after the run completes.
{
"id": "string",
"urls": {
"get": "string",
"cancel": "string"
},
"error": {
"code": "YIR_INVALID_REQUEST",
"action": "fix_request",
"details": [
{
"field": "string",
"reason": "invalid_body",
"allowed": [
"string"
],
"expected": "string"
}
],
"message": "string",
"retryable": true,
"provider_error": {
"message": "string",
"provider": "string"
}
},
"model": "string",
"usage": {
"outputs": 0
},
"object": "job",
"result": {
"files": [
{
"url": "http://example.com",
"width": 0,
"height": 0,
"fidelity": {
"grade": "original",
"reason": "string"
},
"expires_at": 1,
"media_type": "string",
"duration_ms": 1
}
],
"warnings": [
"additional_results_unavailable"
],
"availability": "available",
"content_safety": {
"status": "passed",
"checked_by": "provider"
}
},
"status": "queued",
"billing": {
"status": "pending",
"currency": "USD",
"max_cost": "string",
"gateway_fee": {
"amount": "string",
"status": "settled"
},
"billing_mode": "actual",
"compute_charges": [
{
"usage": [
{
"unit": "string",
"metric": "string",
"quantity": "string"
}
],
"amount": "string",
"status": "settled",
"billed_by": "yir",
"supply_type": "managed",
"amount_basis": "yir_price_rule"
}
],
"official_comparison": {
"source_url": "http://example.com",
"savings_amount": "string",
"baseline_amount": "string"
},
"total_charged_by_yir": "string"
},
"created_at": 1,
"parameters": {
"n": 1,
"fps": 1,
"size": "string",
"voice": "string",
"quality": "string",
"duration": 1,
"resolution": "string",
"aspect_ratio": "string",
"instrumental": true,
"generate_audio": true,
"lyrics_optimizer": true
},
"cancellation": {
"effect": "stop_future_attempts",
"status": "cancelled",
"requested_at": 1
},
"completed_at": 1,
"final_provider": "string",
"parameter_notices": [
{
"name": "string",
"reason": "channel_parameter_unsupported",
"message": "string",
"disposition": "ignored"
}
]
}- Base URL
https://api.openany.si/v1- POST
/v1/images- GET
/v1/images/{task_id}- Authentication
Authorization: Bearer $OPENANY_API_KEY
Request parameters
| Parameter | Type / range | Default value | Required | Description |
|---|---|---|---|---|
prompt | string | A watercolor fox reading a map in a pine forest | Yes | Prompt |
resolution | string · 1K | 2K | 4K | 1K | No | Output resolution. |
aspect_ratio | string · 1:1 | 3:2 | 2:3 | 4:3 | 3:4 | 5:4 | 4:5 | 16:9 | 9:16 | 2:1 | 1:2 | 3:1 | 1:3 | 21:9 | 9:21 | 1:1 | No | Output aspect ratio. The price reference covers 1:1 only; other ratios have no confirmed quote. |
quality | string · low | medium | high | xhigh | max | medium | No | Choose low, medium, high, xhigh, or max. A Playground estimate is available for medium quality. The final charge is calculated from the completed Yir job. |
n | integer · 1 1 ~ 1 | 1 | No | Number of outputs from one API request (one Job), not the application batch size. For multiple Jobs, submit separate requests; n=1 does not prevent application-managed batching. |
output_format | string · gif | — | No | Omit this field for a static image. |
size | string · 512x512 | 768x768 | — | No | Applies when output_format is gif. |
frame_count | integer · 2 ~ 16 | 9 | No | Applies when output_format is gif. 512x512 supports up to 16 frames. 768x768 supports up to 12 frames. |
frame_duration_ms | integer · 20 ~ 2000 | 200 | No | Applies when output_format is gif. |
Request example
curl 'https://api.openany.si/v1/images' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A watercolor fox reading a map in a pine forest",
"type": "text"
},
"model": "gpt-image-2.6-sunburst",
"parameters": {
"aspect_ratio": "1:1",
"n": 1,
"quality": "medium",
"resolution": "1K"
},
"route_mode": "balanced"
}'Response example
Official schema example with placeholders, not a live response
{
"id": "string",
"urls": {
"get": "string",
"cancel": "string"
},
"error": {
"code": "YIR_INVALID_REQUEST",
"action": "fix_request",
"details": [
{
"field": "string",
"reason": "invalid_body",
"allowed": [
"string"
],
"expected": "string"
}
],
"message": "string",
"retryable": true,
"provider_error": {
"message": "string",
"provider": "string"
}
},
"model": "string",
"usage": {
"outputs": 0
},
"object": "job",
"result": {
"files": [
{
"url": "http://example.com",
"width": 0,
"height": 0,
"fidelity": {
"grade": "original",
"reason": "string"
},
"expires_at": 1,
"media_type": "string",
"duration_ms": 1
}
],
"warnings": [
"additional_results_unavailable"
],
"availability": "available",
"content_safety": {
"status": "passed",
"checked_by": "provider"
}
},
"status": "queued",
"billing": {
"status": "pending",
"currency": "USD",
"max_cost": "string",
"gateway_fee": {
"amount": "string",
"status": "settled"
},
"billing_mode": "actual",
"compute_charges": [
{
"usage": [
{
"unit": "string",
"metric": "string",
"quantity": "string"
}
],
"amount": "string",
"status": "settled",
"billed_by": "yir",
"supply_type": "managed",
"amount_basis": "yir_price_rule"
}
],
"official_comparison": {
"source_url": "http://example.com",
"savings_amount": "string",
"baseline_amount": "string"
},
"total_charged_by_yir": "string"
},
"created_at": 1,
"parameters": {
"n": 1,
"fps": 1,
"size": "string",
"voice": "string",
"quality": "string",
"duration": 1,
"resolution": "string",
"aspect_ratio": "string",
"instrumental": true,
"generate_audio": true,
"lyrics_optimizer": true
},
"cancellation": {
"effect": "stop_future_attempts",
"status": "cancelled",
"requested_at": 1
},
"completed_at": 1,
"final_provider": "string",
"parameter_notices": [
{
"name": "string",
"reason": "channel_parameter_unsupported",
"message": "string",
"disposition": "ignored"
}
]
}Query taskGET /v1/images/{task_id}
Replace YOUR_TASK_ID with the task ID returned by the creation request. This GET request has no request body.
curl 'https://api.openany.si/v1/images/YOUR_TASK_ID' \
-H "Authorization: Bearer $OPENANY_API_KEY"Response example
Official schema example with placeholders, not a live response
{
"id": "string",
"urls": {
"get": "string",
"cancel": "string"
},
"error": {
"code": "YIR_INVALID_REQUEST",
"action": "fix_request",
"details": [
{
"field": "string",
"reason": "invalid_body",
"allowed": [
"string"
],
"expected": "string"
}
],
"message": "string",
"retryable": true,
"provider_error": {
"message": "string",
"provider": "string"
}
},
"model": "string",
"usage": {
"outputs": 0
},
"object": "job",
"result": {
"files": [
{
"url": "http://example.com",
"faces": 1,
"width": 0,
"height": 0,
"fidelity": {
"grade": "original",
"reason": "string"
},
"expires_at": 1,
"media_type": "string",
"duration_ms": 1,
"swap_checks": {
"slots": [
{
"id": "string",
"swapped": true,
"similarity_to_original": 0
}
],
"passes": 0,
"threshold": 0,
"all_swapped": true
}
}
],
"warnings": [
"additional_results_unavailable"
],
"availability": "available",
"content_safety": {
"status": "passed",
"checked_by": "provider"
}
},
"status": "queued",
"billing": {
"status": "pending",
"currency": "USD",
"max_cost": "string",
"gateway_fee": {
"amount": "string",
"status": "settled"
},
"billing_mode": "actual",
"compute_charges": [
{
"usage": [
{
"unit": "string",
"metric": "string",
"quantity": "string"
}
],
"amount": "string",
"status": "settled",
"billed_by": "yir",
"supply_type": "managed",
"amount_basis": "yir_price_rule"
}
],
"official_comparison": {
"source_url": "http://example.com",
"savings_amount": "string",
"baseline_amount": "string"
},
"total_charged_by_yir": "string"
},
"created_at": 1,
"parameters": {
"n": 1,
"fps": 1,
"size": "string",
"voice": "string",
"quality": "string",
"duration": 1,
"resolution": "string",
"aspect_ratio": "string",
"instrumental": true,
"generate_audio": true,
"lyrics_optimizer": true
},
"cancellation": {
"effect": "stop_future_attempts",
"status": "cancelled",
"requested_at": 1
},
"completed_at": 1,
"final_provider": "string",
"parameter_notices": [
{
"name": "string",
"reason": "channel_parameter_unsupported",
"message": "string",
"disposition": "ignored"
}
]
}Error handling
400Check the model ID and request fields.429Retry with exponential backoff.5xxRetry only temporary provider failures.Request example
POST /v1/imagescurl 'https://api.openany.si/v1/images' \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A watercolor fox reading a map in a pine forest",
"type": "text"
},
"model": "gpt-image-2.6-sunburst",
"parameters": {
"aspect_ratio": "1:1",
"n": 1,
"quality": "medium",
"resolution": "1K"
},
"route_mode": "balanced"
}'Model API questions
How do I call GPT Image 2.6 Sunburst through OpenAny?
Use model ID gpt-image-2.6-sunburst with an OpenAny key and the operation published in this model's API tab. The model API base is https://api.openany.si/v1. Confirm the protocol and request schema; model availability does not imply every OpenAI API operation is supported.
How is GPT Image 2.6 Sunburst billed?
Compare the published rate and billing unit of the selected provider route. Input, output and cache token rates may differ. Image, audio and video models can use other units. Recorded usage determines the charge under that route's billing contract.
Are Community and Verified routes the same as an official publisher API?
No. Inspect the provider name and supply classification for the specific route. A marketplace listing or a supply label is not a claim of publisher endorsement, identical service or measured uptime. Different route prices may reflect different supply and conditions.
Where do these prices come from, and when were they updated?
Rates come from the provider routes in OpenAny's public model catalog, not an independent quote from the model publisher. The catalog does not supply a price update timestamp. A page or catalog snapshot date is not a price revision date. Compare supply, billing units, tiers and conditions; a lower listed rate alone does not establish equivalent service or explain the price difference.
Use GPT Image 2.6 Sunburst with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.