# GPT Image 2.6 Sunburst

> OpenAI GPT Image 2.6 Sunburst on the Kinovi API — flagship 1K–4K generation and editing with up to 16 reference images, complexity control, WebP output, and token billing.

Source: https://kinovi.ai/docs/models/gpt-image-2.6-sunburst

- Model ID: `gpt-image-2.6-sunburst`
- Type: Image
- Provider: OpenAI
- From: $0.0284 / 1k output tokens
- Model page: https://kinovi.ai/models/gpt-image-2.6-sunburst
- Playground: https://kinovi.ai/app/gallery?model=gpt-image-2.6-sunburst

## Quickstart

Two calls: submit a task with `createTask`, then poll `recordInfo` with the returned `taskId` until `status` is `success` or `fail`.

Every request carries `Authorization: Bearer <yourApiKey>`. Create and manage keys at [kinovi.ai/api-keys](https://kinovi.ai/api-keys); see the [API reference](https://kinovi.ai/docs/api) for rate limits and error codes.

### Submit a task

`POST https://kinovi.ai/api/v1/jobs/createTask`

```json
{
  "model": "gpt-image-2.6-sunburst",
  "inputs": {
    "prompt": "Editorial studio poster for a specialty coffee roaster, clean geometric typography reading 'KINOVI ROASTERS', warm parchment palette.",
    "aspectRatio": "3:4",
    "resolution": "2k",
    "quality": "high",
    "complexity": "medium",
    "outputFormat": "png",
    "background": "auto"
  }
}
```

Response `200 OK` — the task is queued and credits are precharged based on `quality` × `resolution`. Use `taskId` to poll for the result.

```json
{
  "taskId": "task_01j9examplegpt26s01"
}
```

#### Error responses

| HTTP | Body | When |
|:--|:--|:--|
| `400` | `{ "message": "Invalid inputs for model", "errors": [ … ] }` | More than 16 images in `imageUrls`, unsupported `resolution` / `quality` / `complexity` / `outputFormat`, or `outputCompression` outside `0`–`100`. Nothing is charged. |
| `401` | `{ "message": "Invalid API Key" }` | Missing or wrong `Authorization` header. |
| `402` | `{ "message": "Insufficient credits", "required": 24.23, "available": 0 }` | Not enough credits for the `quality` × `resolution` precharge. |
| `429` | `{ "message": "Concurrency limit reached (…)", "limit": 5, "current": 5 }` | Too many tasks in progress; wait for one to finish. |

### Query the result

`GET https://kinovi.ai/api/v1/jobs/recordInfo?taskId=task_…`

Poll every couple of seconds until `status` is `success` or `fail`.

While the job is running, `creditsUsed` reflects the **precharge estimate** for your `quality` × `resolution`. Once complete, Kinovi settles to the actual upstream token counts and refunds or tops up the difference.

| `status` | Meaning |
|:--|:--|
| `waiting` | Queued, not started yet |
| `generating` | Running |
| `success` | Done — read `output[].url` |
| `fail` | Failed — see `error.code` / `error.message`; credits are refunded |

## Parameters

Send these inside the `createTask` body. `model` and `inputs.prompt` are required; everything else falls back to the default shown.

Reference image URLs can be any publicly reachable URL — host them yourself, or upload them to Kinovi first with `POST /api/v1/uploads` and pass the returned `url` (see [Uploading Assets](https://kinovi.ai/docs/uploads)).

| Field | Type | Default | Description |
|:--|:--|:--|:--|
| `model` | `string` | **required** | Must be `"gpt-image-2.6-sunburst"`. |
| `inputs.prompt` | `string` | **required** | Text description or edit instruction. |
| `inputs.imageUrls` | `string[]` | – | Optional, up to **16** reference image URLs for editing, subject consistency, or multi-image composition (`uploadedUrls` accepted as an alias). Your own hosted URLs or [Kinovi uploads](https://kinovi.ai/docs/uploads). |
| `inputs.aspectRatio` | `string` | `auto` | `auto` · `1:1` · `4:3` · `3:4` · `16:9` · `9:16`. |
| `inputs.resolution` | `string` | `1k` | `1k` · `2k` · `4k`. |
| `inputs.quality` | `string` | `low` | `low` · `medium` · `high` · `xhigh` · `max` · `auto` (`auto` maps to `medium`). Higher tiers generate more output tokens. |
| `inputs.complexity` | `string` | `low` | `low` · `medium` · `high`. Controls generation complexity and reasoning budget (new in 2.6). |
| `inputs.background` | `string` | `auto` | `auto` · `transparent` · `opaque`. Use `png` or `webp` when requesting `transparent`. |
| `inputs.outputFormat` | `string` | `png` | `png` · `jpeg` · `webp` (`webp` is new in 2.6). |
| `inputs.outputCompression` | `integer` | – | Optional compression level `0`–`100` (applies to `jpeg` and `webp`). |
| `inputs.negativePrompt` | `string` | – | Optional elements to avoid. |
| `inputs.seed` | `integer` | random | Optional seed (`0`–`2147483647`). |
| `callBackUrl` | `string` | – | Optional webhook called when the task finishes. |

### Full request (multi-image edit)

```json
{
  "model": "gpt-image-2.6-sunburst",
  "inputs": {
    "prompt": "Composite the ceramic mug from image 1 onto the wooden desk from image 2, matching the warm side lighting and shallow depth of field.",
    "imageUrls": [
      "https://static.kinovi.ai/generated-images/task_ff01ii3zvib7ndbx8negnh6q-0.png",
      "https://static.kinovi.ai/generated-images/task_u91bn4h34rr0zy2m5o9z31si-0.png"
    ],
    "aspectRatio": "16:9",
    "resolution": "2k",
    "quality": "high",
    "complexity": "high",
    "background": "opaque",
    "outputFormat": "webp",
    "outputCompression": 90
  },
  "callBackUrl": "https://example.com/hooks/kinovi"
}
```

## Pricing

GPT Image 2.6 Sunburst uses **usage-based token billing** — Kinovi precharges an estimate for your `quality` × `resolution` at submit and settles to exact upstream token usage on completion. Failed tasks are refunded in full. Live prices: [kinovi.ai/models/gpt-image-2.6-sunburst](https://kinovi.ai/models/gpt-image-2.6-sunburst).

### Token rates

| Token bucket | Rate per 1,000 tokens |
|:--|--:|
| **Text input** | $0.0047 / 1k tokens |
| **Cached text input** | $0.0012 / 1k tokens |
| **Image input** | $0.0076 / 1k tokens |
| **Cached image input** | $0.0019 / 1k tokens |
| **Image output** | $0.0284 / 1k tokens |

### Precharge estimates (credits / image)

| `quality` | 1K | 2K | 4K |
|:--|--:|--:|--:|
| `low` | 1.36 cr | 2.72 cr | 4.51 cr |
| `medium` | 3.01 cr | 6.07 cr | 10.07 cr |
| `high` | 11.97 cr | 24.23 cr | 40.19 cr |
| `xhigh` | 21.26 cr | 43.05 cr | 71.44 cr |
| `max` | 47.81 cr | 96.83 cr | 160.71 cr |

## Response

### Result fields

**JSON**

```json
{
  "taskId": "task_01j9examplegpt26s01",
  "model": "gpt-image-2.6-sunburst",
  "status": "success",
  "creditsUsed": 23.85,
  "output": [
    {
      "url": "https://static.kinovi.ai/generated-images/gpt_image_26_sunburst.png",
      "width": 1536,
      "height": 2048,
      "mediaType": "image/png"
    }
  ],
  "error": null,
  "createTime": 1790090613532,
  "completeTime": 1790090642100
}
```

**Table**

| Field | Type | Description |
|:--|:--|:--|
| `taskId` | `string` | The task id returned by `createTask`. |
| `model` | `string` | `"gpt-image-2.6-sunburst"`. |
| `status` | `string` | `waiting` · `generating` · `success` · `fail`. Stop polling on `success` or `fail`. |
| `creditsUsed` | `number` | Credits actually settled from upstream token usage. Refunded automatically when `status` is `fail`. |
| `output` | `object[]` | Generated image; empty until `success`. Stored by Kinovi for 7 days after generation. |
| `output[0].url` | `string` | Download URL of the `.png`, `.jpeg`, or `.webp` image. |
| `output[0].width` | `integer` | Pixel width. |
| `output[0].height` | `integer` | Pixel height. |
| `output[0].mediaType` | `string` | `image/png`, `image/jpeg`, or `image/webp`. |
| `error` | `object \| null` | `{ code, message }` when the task failed, otherwise `null`. |
| `createTime` | `number` | Unix epoch milliseconds when the task was accepted. |
| `completeTime` | `number \| null` | Unix epoch milliseconds when the task reached a terminal status. |

## Examples

### Text to image

**cURL**

```bash
curl -sS -X POST "https://kinovi.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $KINOVI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-image-2.6-sunburst",
    "inputs": {
      "prompt": "A minimalist architectural photograph of a concrete library atrium bathed in diagonal morning sunlight.",
      "aspectRatio": "16:9",
      "resolution": "2k",
      "quality": "high",
      "complexity": "medium",
      "outputFormat": "webp",
      "outputCompression": 90
    }
  }'
```

**Node.js**

```ts
const API_BASE = "https://kinovi.ai/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.KINOVI_API_KEY}`,
  "Content-Type": "application/json",
};

const { taskId } = await fetch(`${API_BASE}/jobs/createTask`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    model: "gpt-image-2.6-sunburst",
    inputs: {
      prompt: "A minimalist architectural photograph of a concrete library atrium bathed in diagonal morning sunlight.",
      aspectRatio: "16:9",
      resolution: "2k",
      quality: "high",
      complexity: "medium",
      outputFormat: "webp",
      outputCompression: 90,
    },
  }),
}).then((r) => r.json());

while (true) {
  const info = await fetch(`${API_BASE}/jobs/recordInfo?taskId=${encodeURIComponent(taskId)}`, { headers }).then((r) =>
    r.json(),
  );
  if (info.status === "success") {
    console.log(info.output[0].url);
    break;
  }
  if (info.status === "fail") throw new Error(JSON.stringify(info.error));
  await new Promise((r) => setTimeout(r, 2000));
}
```

**Python**

```python
import json, os, time, urllib.request

API_BASE = "https://kinovi.ai/api/v1"
HEADERS = {
    "Authorization": f"Bearer {os.environ['KINOVI_API_KEY']}",
    "Content-Type": "application/json",
}

payload = {
    "model": "gpt-image-2.6-sunburst",
    "inputs": {
        "prompt": "A minimalist architectural photograph of a concrete library atrium bathed in diagonal morning sunlight.",
        "aspectRatio": "16:9",
        "resolution": "2k",
        "quality": "high",
        "complexity": "medium",
        "outputFormat": "webp",
        "outputCompression": 90,
    },
}

req = urllib.request.Request(f"{API_BASE}/jobs/createTask", data=json.dumps(payload).encode(), headers=HEADERS)
task_id = json.load(urllib.request.urlopen(req))["taskId"]

while True:
    info = json.load(urllib.request.urlopen(urllib.request.Request(f"{API_BASE}/jobs/recordInfo?taskId={task_id}", headers=HEADERS)))
    if info["status"] == "success":
        print(info["output"][0]["url"])
        break
    if info["status"] == "fail":
        raise RuntimeError(info["error"])
    time.sleep(2)
```

## FAQ

### How does `gpt-image-2.6-sunburst` differ from `gpt-image-2.6-flare`?

Sunburst is the flagship quality tier for dense multi-subject editing, typography, and photoreal detail. [GPT Image 2.6 Flare](https://kinovi.ai/docs/models/gpt-image-2.6-flare) shares the same parameters and token rates but is tuned for faster turnaround.

### What is new in GPT Image 2.6 compared to GPT Image 2.5?

GPT Image 2.6 adds the `complexity` (`low` · `medium` · `high`) control and native `webp` output with `outputCompression`.

### Why does `creditsUsed` sometimes differ from the initial precharge?

Kinovi precharges a conservative estimate for `quality` × `resolution`, then settles to the exact text and image token counts returned by the model once generation completes.

## Related models

- [GPT Image 2.6 Flare](https://kinovi.ai/docs/models/gpt-image-2.6-flare): Speed-oriented GPT Image 2.6 face with identical 1K–4K, WebP, and complexity controls.
- [GPT Image 2.5 Sunburst](https://kinovi.ai/docs/models/gpt-image-2.5-sunburst): Previous-generation GPT Image 2.5 Sunburst generation and multi-image editing.
- [Seedream 5.5](https://kinovi.ai/docs/models/seedream-5.5): ByteDance's flat-rate 1K–2K image generation and editing starting at $0.0180 / image.
