# Seedream 5.5

> ByteDance's Seedream 5.5 on the Kinovi API — text-to-image and multi-image editing (up to 10 reference images) at 1K, 1.5K, or 2K with transparent PNG support.

Source: https://kinovi.ai/docs/models/seedream-5.5

- Model ID: `seedream-5.5`
- Type: Image
- Provider: ByteDance
- From: $0.0180 / image
- Model page: https://kinovi.ai/models/seedream-5-5
- Playground: https://kinovi.ai/app/gallery?model=seedream-5.5

## Models in this series

Seedream 5.5 ships as two dedicated faces — text-to-image strictly rejects input images, and image editing requires 1–10 reference images.

| Model ID | Mode | Inputs | Model page |
|:--|:--|:--|:--|
| `seedream-5.5` | Text to image | Prompt only (rejects input images) | [Seedream 5.5](https://kinovi.ai/models/seedream-5-5) |
| `seedream-5.5-edit` | Image edit / fusion | Prompt + 1–10 reference images (`uploadedUrls`) | [Seedream 5.5 Image Edit](https://kinovi.ai/models/seedream-5-5-edit) |

## 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": "seedream-5.5",
  "inputs": {
    "prompt": "A studio product photograph of a brushed-aluminum espresso grinder on pale travertine stone, crisp softbox lighting, minimal composition.",
    "aspectRatio": "1:1",
    "resolution": "2k",
    "outputFormat": "png"
  }
}
```

Response `200 OK` — the task is queued and credits are reserved. Use `taskId` to poll for the result.

```json
{
  "taskId": "task_01j9exampleseedr5501"
}
```

#### Error responses

| HTTP | Body | When |
|:--|:--|:--|
| `400` | `{ "message": "Invalid inputs for model", "errors": [ … ] }` | Sending `uploadedUrls` to `seedream-5.5`, omitting `uploadedUrls` on `seedream-5.5-edit`, combining `background: "transparent"` with `outputFormat: "jpeg"`, or passing `resolution: "4k"`. Nothing is charged. |
| `401` | `{ "message": "Invalid API Key" }` | Missing or wrong `Authorization` header. |
| `402` | `{ "message": "Insufficient credits", "required": 7, "available": 0 }` | Not enough credits for this resolution (and input images on `seedream-5.5-edit`). |
| `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`.

| `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 on both faces (`inputs.uploadedUrls` is also required on `seedream-5.5-edit`).

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 | Applies to | Description |
|:--|:--|:--|:--|:--|
| `model` | `string` | **required** | All | `seedream-5.5` · `seedream-5.5-edit`. |
| `inputs.prompt` | `string` | **required** | All | Image generation or edit instruction, max **5,000** characters. |
| `inputs.uploadedUrls` | `string[]` | **required** on edit | `seedream-5.5-edit` only | **1–10** reference image URLs (`inputs.urls` is also accepted as an alias on REST). Must be omitted on `seedream-5.5`. Your own hosted URLs or [Kinovi uploads](https://kinovi.ai/docs/uploads). |
| `inputs.aspectRatio` | `string` | `auto` | All | `auto` · `1:1` · `4:3` · `3:4` · `16:9` · `9:16` · `3:2` · `2:3` · `21:9`. |
| `inputs.resolution` | `string` | `2k` | All | `1k` · `1.5k` · `2k`. No `4k` tier. |
| `inputs.background` | `string` | `auto` | All | `auto` · `transparent` · `opaque`. `transparent` requires `outputFormat: "png"`. |
| `inputs.outputFormat` | `string` | `png` | All | `png` · `jpeg`. |
| `inputs.quality` | `string` | – | All | Optional quality hint (max 64 characters). |
| `inputs.style` | `string` | – | All | Optional style hint (max 128 characters). |
| `inputs.seed` | `integer` | random | All | `-1` to `2147483647`. |
| `callBackUrl` | `string` | – | All | Optional webhook called when the task finishes. |

### Full request (`seedream-5.5-edit`)

```json
{
  "model": "seedream-5.5-edit",
  "inputs": {
    "prompt": "Place the ceramic mug from the reference photo onto a sunlit marble countertop with a transparent background.",
    "uploadedUrls": [
      "https://static.kinovi.ai/generated-images/task_ff01ii3zvib7ndbx8negnh6q-0.png"
    ],
    "aspectRatio": "auto",
    "resolution": "2k",
    "background": "transparent",
    "outputFormat": "png",
    "seed": 42
  },
  "callBackUrl": "https://example.com/hooks/kinovi"
}
```

## Pricing

Priced **per generated image**, by `resolution`. On `seedream-5.5-edit`, each reference image in `uploadedUrls` adds an input-image charge (`$0.0072 / input image`). Live prices: [Seedream 5.5](https://kinovi.ai/models/seedream-5-5) · [Seedream 5.5 Image Edit](https://kinovi.ai/models/seedream-5-5-edit).

| | 1k | 1.5k | 2k | Input image (`edit` only) |
|:--|--:|--:|--:|--:|
| **price** | $0.0180 / image | $0.0180 / image | $0.0315 / image | $0.0072 / input image |

Charged at submit; failed tasks are refunded in full.

## Response

### Result fields

**JSON**

```json
{
  "taskId": "task_01j9exampleseedr5501",
  "model": "seedream-5.5",
  "status": "success",
  "creditsUsed": 6.79,
  "output": [
    {
      "url": "https://static.kinovi.ai/generated-images/seedream55_example.png",
      "width": 2048,
      "height": 2048,
      "mediaType": "image/png"
    }
  ],
  "error": null,
  "createTime": 1790090613532,
  "completeTime": 1790090624100
}
```

**Table**

| Field | Type | Description |
|:--|:--|:--|
| `taskId` | `string` | The task id returned by `createTask`. |
| `model` | `string` | `"seedream-5.5"` or `"seedream-5.5-edit"`. |
| `status` | `string` | `waiting` · `generating` · `success` · `fail`. Stop polling on `success` or `fail`. |
| `creditsUsed` | `number` | Credits actually charged. 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` or `.jpeg` image. |
| `output[0].width` | `integer` | Pixel width. |
| `output[0].height` | `integer` | Pixel height. |
| `output[0].mediaType` | `string` | `image/png` or `image/jpeg`. |
| `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 (`seedream-5.5`)

**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": "seedream-5.5",
    "inputs": {
      "prompt": "An isometric clay diorama of a cozy Japanese bakery at dusk, warm glowing windows, soft studio shadows.",
      "aspectRatio": "1:1",
      "resolution": "2k",
      "outputFormat": "png"
    }
  }'
```

**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: "seedream-5.5",
    inputs: {
      prompt: "An isometric clay diorama of a cozy Japanese bakery at dusk, warm glowing windows, soft studio shadows.",
      aspectRatio: "1:1",
      resolution: "2k",
      outputFormat: "png",
    },
  }),
}).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": "seedream-5.5",
    "inputs": {
        "prompt": "An isometric clay diorama of a cozy Japanese bakery at dusk, warm glowing windows, soft studio shadows.",
        "aspectRatio": "1:1",
        "resolution": "2k",
        "outputFormat": "png",
    },
}

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)
```

### Image edit (`seedream-5.5-edit`)

**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": "seedream-5.5-edit",
    "inputs": {
      "prompt": "Keep the subject and lighting identical, replace the background with a misty pine forest at dawn.",
      "uploadedUrls": ["https://static.kinovi.ai/generated-images/task_ff01ii3zvib7ndbx8negnh6q-0.png"],
      "aspectRatio": "auto",
      "resolution": "2k",
      "outputFormat": "png"
    }
  }'
```

**Node.js**

```ts
const res = await fetch("https://kinovi.ai/api/v1/jobs/createTask", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KINOVI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "seedream-5.5-edit",
    inputs: {
      prompt: "Keep the subject and lighting identical, replace the background with a misty pine forest at dawn.",
      uploadedUrls: ["https://static.kinovi.ai/generated-images/task_ff01ii3zvib7ndbx8negnh6q-0.png"],
      aspectRatio: "auto",
      resolution: "2k",
      outputFormat: "png",
    },
  }),
});
console.log(await res.json());
```

**Python**

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

payload = {
    "model": "seedream-5.5-edit",
    "inputs": {
        "prompt": "Keep the subject and lighting identical, replace the background with a misty pine forest at dawn.",
        "uploadedUrls": ["https://static.kinovi.ai/generated-images/task_ff01ii3zvib7ndbx8negnh6q-0.png"],
        "aspectRatio": "auto",
        "resolution": "2k",
        "outputFormat": "png",
    },
}
req = urllib.request.Request(
    "https://kinovi.ai/api/v1/jobs/createTask",
    data=json.dumps(payload).encode(),
    headers={"Authorization": f"Bearer {os.environ['KINOVI_API_KEY']}", "Content-Type": "application/json"},
)
print(json.load(urllib.request.urlopen(req)))
```

## FAQ

### Why did `seedream-5.5` reject my `uploadedUrls`?

`seedream-5.5` is strictly text-to-image. Switch `"model"` to `"seedream-5.5-edit"` when editing or combining 1–10 reference images.

### Can I generate transparent PNG cutouts with Seedream 5.5?

Yes — pass `"background": "transparent"` and `"outputFormat": "png"`. Combining `"background": "transparent"` with `"outputFormat": "jpeg"` returns `400`.

## Related models

- [Seedream 5.0 Pro](https://kinovi.ai/docs/models/seedream-5.0-pro): ByteDance's Seedream 5.0 Pro image generation and editing.
- [GPT Image 2.6 Sunburst](https://kinovi.ai/docs/models/gpt-image-2.6-sunburst): OpenAI's GPT Image 2.6 Sunburst with up to 4K resolution, WebP output, and 16 reference images.
- [NanoBanana 2](https://kinovi.ai/docs/models/nanobanana2): Google Gemini's fast text-to-image and multi-image editing model.
