Image model
GPT Image 2.6 Sunburst
openai/gpt-image-2.6-sunburst
openai/gpt-image-2.6-sunburst is an image generation model from OpenAI you can call on the OceanToken API; it supports image input.
At a glance
| Model ID | openai/gpt-image-2.6-sunburst |
|---|---|
| Type | Image |
| Publisher | OpenAI |
| Price | On oceantoken.ai |
| Endpoint | /v1/images/generations, /v1/images/edits |
| API shape | OpenAI-compatible |
| In the catalog since | 2026-11-04 |
API
POST /v1/images/generations (also /v1/images/edits). Base URL https://api.oceantoken.ai, your OceanToken key as the bearer token. The OpenAI SDKs work unchanged; see the Quickstart.
Download this spec (JSON) · llms.txt for AI assistants
Basic
- curl
- Python
- JavaScript
curl https://api.oceantoken.ai/v1/images/generations \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-image-2.6-sunburst",
"prompt": "A lighthouse at dawn, watercolor",
"size": "1:1"
}'
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.oceantoken.ai/v1", api_key=os.environ["OCEANTOKEN_API_KEY"])
result = client.images.generate(
model="openai/gpt-image-2.6-sunburst",
prompt="A lighthouse at dawn, watercolor",
size="1:1",
)
print(result.data[0].url) # download within 24 hours
import OpenAI from 'openai';
const client = new OpenAI({baseURL: 'https://api.oceantoken.ai/v1', apiKey: process.env.OCEANTOKEN_API_KEY});
const result = await client.images.generate({
"model": "openai/gpt-image-2.6-sunburst",
"prompt": "A lighthouse at dawn, watercolor",
"size": "1:1"
});
console.log(result.data[0].url); // download within 24 hours
Request parameters
Only what this model takes. Anything else in the request is left out before it reaches the model.
| Parameter | Type | Description |
|---|---|---|
modelrequired | string | This model's ID. |
promptrequired | string | What to draw. |
size | string 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9, 4:5, 5:4, 2:1, 1:2, 3:1, 1:3 | Aspect ratio. Width x height such as 1024x1024 is accepted too and mapped to its ratio. |
quality | string low, medium, high, xhigh, max | Quality level; lower is faster and cheaper. |
n | integer 1 to 10 default 1 | How many images. |
images | array up to 16 items | Up to 16 reference images to start from or draw on, each a public https:// URL or a data URL. The request is then an edit. |
Response
| Field | Type | Description |
|---|---|---|
created | integer | Unix time. |
data[].url | string | The image. Download it within 24 hours. |
Example response
{
"created": 1792000000,
"data": [
{
"url": "https://..."
}
]
}
More examples and how errors and billing work: Images.
Compared with similar models
Image models on OceanToken in the same price range as openai/gpt-image-2.6-sunburst. Compare their prices on oceantoken.ai.
| Model | Publisher | Context |
|---|---|---|
GPT Image 2.6 Sunburstopenai/gpt-image-2.6-sunburst | OpenAI | — |
Mai Image 2.6microsoft/mai-image-2.6 | Microsoft | — |
Mai Image 2.6 Flashmicrosoft/mai-image-2.6-flash | Microsoft | — |
Gemini 3 Pro Imagegoogle/gemini-3-pro-image | 131K |
More from OpenAI
- GPT-4.1
openai/gpt-4.1 - GPT-4.1 Mini
openai/gpt-4.1-mini - GPT-4.1 Nano
openai/gpt-4.1-nano - GPT-4o
openai/gpt-4o - GPT-4o 2024.11 20
openai/gpt-4o-2024-11-20 - GPT-4o Mini Transcribe
openai/gpt-4o-mini-transcribe - GPT-4o Transcribe
openai/gpt-4o-transcribe - GPT-5
openai/gpt-5
All OpenAI models on OceanToken
Use it
Create an account Price on oceantoken.ai
The facts on this page were read from the live OceanToken catalog on 2026-11-27 (UTC), when the documentation was built. Prices are published on oceantoken.ai.