# Seedream 5.5

> Seedream 5.5는 ByteDance의 이미지 모델로, 사실적인 이미지와 선명한 텍스트를 생성하며 편집할 때는 요청하지 않은 부분을 그대로 유지합니다. 프롬프트 또는 최대 10장의 참조 이미지로 생성할 수 있으며, 필요할 때는 투명 배경으로 생성할 수도 있습니다. Studio에서 열면 크기를 선택하고 생성 전에 가격을 확인할 수 있습니다.

Seedream 5.5 모델은 ByteDance에서 개발한 AI 이미지 생성기입니다. 모델 ID bytedance/seedream-5.5를 지정해 Kerox API로 호출하거나, 코드 작성 없이 Studio에서 생성할 수 있습니다. Kerox에서는 구독 없이 $0.0160 / 이미지 (공식 가격 대비 20% 할인)부터 이용할 수 있습니다.

## 요금

| 모델 | ID | 결제 방식 | Kerox 요금 | 할인 |
| --- | --- | --- | --- | --- |
| Seedream 5.5 | `bytedance/seedream-5.5` | 이미지당 | 1K/1.5K: $0.0160, 2K: $0.0280 | 공식 가격보다 20% 저렴 |

- [Seedream 5.5 가격](https://kerox.ai/ko/pricing#pricing-bytedance/seedream-5.5)
- [Seedream 5.5 API 문서](https://kerox.ai/ko/docs/models/bytedance/seedream-5.5)
- [Seedream 5.5](https://kerox.ai/ko/models/bytedance/seedream-5.5)

## Seedream 5.5 소개

Seedream 5.5는 ByteDance Seed 팀이 2026년 11월 9일에 출시한 이미지 생성 모델입니다. ByteDance는 이 모델을 창의성이 더 뛰어나고 지시를 더 정밀하게 수행하는 멀티모달 이미지 모델이라고 소개합니다. 텍스트로 이미지를 생성하는 기능과 이미지로 이미지를 생성하는 기능을 모두 지원하며, Seedream 5.0 Pro의 후속 모델입니다.

### ByteDance가 밝힌 5.5 버전의 주요 개선 사항

- **더 안정적인 편집.** 변경을 요청하지 않은 영역은 색상 변화 없이 픽셀 단위로 보존됩니다. ByteDance에 따르면 이를 통해 같은 이미지에서 100회에 걸쳐 편집 작업을 이어 갈 수 있습니다.
- **투명 배경.** 텍스트 설명이나 참조 이미지를 바탕으로 알파 채널이 포함된 이미지를 바로 생성하며, 이미지 전체 또는 일부를 투명하게 처리할 수 있습니다.
- **더 사실적인 이미지.** 과도한 광택과 노출 과다 현상이 줄었습니다.
- **더 선명한 텍스트.** 복잡한 글자 형태와 촘촘하게 배치된 작은 글자를 더 정확하게 렌더링합니다.
- **실제 제작에 바로 쓸 수 있는 결과물 증가.** ByteDance가 테스트한 6가지 실제 제작 사례 전반에서 품질 점수와 사용 가능한 결과물의 비율이 모두 이전 버전보다 향상되었습니다.

Kerox에서 Seedream 5.5는 1K, 1.5K, 2K 이미지를 PNG 또는 JPEG로 출력하며, 요청당 최대 10장의 참조 이미지를 사용할 수 있습니다. 화면 비율은 자동으로 설정하거나 1:16부터 16:1까지 원하는 비율을 지정할 수 있으며, 너비와 높이를 픽셀 단위로 정확히 입력할 수도 있습니다.

## Seedream 5.5 사용 방법

1. **충전하기** $5부터 충전할 수 있습니다. 구독이 필요 없으며 잔액은 만료되지 않습니다.
2. **이미지 설정하기** 프롬프트를 작성하고 해상도와 화면 비율을 선택한 뒤 필요하면 참조 이미지를 추가합니다. 시작하기 전에 선택한 설정에 따른 생성 비용이 표시됩니다.
3. **생성하고 다운로드** 시작 시 금액이 보류되고 이미지가 완성되면 정산됩니다. 생성에 실패하면 전액 환불됩니다.

## Seedream 5.5 활용 예시

- **텍스트로 이미지 생성.** 프롬프트만으로 최대 2K 해상도의 사진 같은 이미지를 생성할 수 있습니다.
- **텍스트가 들어간 표지와 포스터.** 정확한 문구를 프롬프트에 따옴표로 넣고, 각 줄이 들어갈 위치를 지정합니다.
- **영상의 첫 프레임.** 스틸 이미지를 생성한 뒤 Seedance 클립의 첫 프레임으로 사용합니다.
- **나머지는 그대로 두는 편집** 이미지를 참조로 전달하고 한 번에 하나의 변경 사항만 설명하세요.
- **투명 배경 에셋** 로고, 스티커, 제품 컷아웃은 알파 채널이 포함된 PNG로 출력됩니다.

## Seedream 5.5 vs Kerox의 다른 모델

이 모델들은 모두 같은 잔액과 같은 API를 공유합니다. 다른 모델로 전환하려면 모델 ID를 바꾸고, 전환할 모델이 지원하는 설정만 사용하세요. 시작 가격은 표에서 확인할 수 있습니다.

| 모델 | 선택하면 좋은 경우 | 시작 가격 |
| --- | --- | --- |
| [Seedream 5.5](https://kerox.ai/ko/models/bytedance/seedream-5.5) | 최대 2K 이미지를 생성하며 참조 이미지를 최대 10장까지 사용할 수 있습니다. 한 이미지를 반복해서 편집하거나, 이미지 안에 텍스트를 넣거나, 프롬프트만으로 투명 배경을 만들 때 선택하세요. | 1K/1.5K: $0.0160, 2K: $0.0280 |
| [Seedream 5.0 Pro](https://kerox.ai/ko/models/bytedance/seedream-5.0-pro) | 이전 Seedream 모델로, 마찬가지로 최대 2K 이미지를 생성하며 참조 이미지를 최대 10장까지 사용할 수 있습니다. 프롬프트가 이미 이 모델에 맞춰 조정되어 있다면 선택하세요. | 1K/1.5K: $0.0360, 2K: $0.0720 |
| [GPT Image 2.6 Flare Economy](https://kerox.ai/ko/models/openai/gpt-image-2.6-flare-economy) | OpenAI의 이미지 모델로, 1K, 2K 또는 4K 해상도로 출력하며 참조 이미지를 최대 16장까지 사용할 수 있습니다. 4K가 필요하거나 참조 이미지가 10장을 넘을 때 선택하세요. | 1K: $0.0150, 2K: $0.0450, 4K: $0.0600 |
| [Qwen Image 3.0 Pro](https://kerox.ai/ko/models/alibaba/qwen-image-3.0-pro) | Alibaba의 이미지 모델로, 1K 또는 2K 해상도로 출력하며 참조 이미지를 최대 3장까지 사용할 수 있습니다. 같은 프롬프트를 다른 회사의 모델로 시험해 보고 싶을 때 선택하세요. | 1K: $0.0360, 2K: $0.0675 |
| [Kling Image 4.0](https://kerox.ai/ko/models/kuaishou/kling-image-4.0) | Kuaishou의 이미지 모델로, 2K, 4K 또는 8K 해상도로 출력합니다. 2K보다 큰 결과물이 필요할 때 선택하세요. | 2K: $0.0567, 4K: $0.0846, 8K: $0.1413 |
| [Seedance 2.5](https://kerox.ai/ko/models/bytedance/seedance-2.5) | ByteDance의 영상 모델입니다. Seedream 이미지를 소리가 포함된 최대 30초 길이의 영상으로 만들고 싶을 때 선택하세요. | 약 $0.0977 / 초부터 (480p) |

## FAQ

### Seedream 5.5 가격은 얼마입니까?

Kerox에서 Seedream 5.5 모델은 $0.0160 / 이미지부터 (공식 가격 대비 20% 할인) 이용할 수 있습니다. 생성 건당 결제하며, 실패한 생성에는 요금이 부과되지 않습니다. 모든 옵션은 이 페이지의 가격표에서 확인할 수 있습니다.

### Seedream 5.5 모델에서 API를 사용할 수 있습니까?

네. 모델 ID bytedance/seedream-5.5로 Kerox API에 작업을 제출한 뒤, 작업 상태를 폴링하거나 작업 완료 시 Webhook 알림을 받을 수 있습니다. Seedream 5.5의 API 문서에서 모든 파라미터와 코드 예제를 확인할 수 있습니다.

### 코드 작성 없이 온라인에서 Seedream 5.5 모델을 사용할 수 있습니까?

네. Kerox Studio에서 Seedream 5.5 모델을 열고 프롬프트를 작성하면 브라우저에서 생성할 수 있습니다. Studio와 API는 같은 잔액을 사용합니다.

### Seedream 5.5 모델을 사용하려면 구독이 필요합니까?

아니요. 요금제나 월 요금이 없습니다. 최소 $5부터 충전할 수 있으며, 생성한 만큼만 결제합니다.

### Seedream 5.5 사용 방법은 무엇입니까?

Kerox에 로그인한 후 Studio에서 Seedream 5.5 모델을 열고 프롬프트를 작성하면 브라우저에서 생성할 수 있습니다. 코드에서 사용하려면 API 키를 만든 후 모델 ID bytedance/seedream-5.5로 작업을 제출하면 됩니다.

### Seedream 5.5를 사용할 수 있습니까?

네. ByteDance는 2026년 11월 9일에 Seedream 5.5를 출시했으며, 현재 Kerox에서 사용할 수 있습니다. Studio에서 생성하거나 모델 ID `bytedance/seedream-5.5`로 API를 통해 호출하면 됩니다.

### Seedream 5.5를 무료로 사용할 수 있습니까?

Kerox에서는 무료로 사용할 수 없습니다. 현재 무료 플랜이나 무료 체험은 제공되지 않습니다. $5부터 충전해 생성한 만큼만 결제하면 됩니다.

### Seedream 5.5는 Seedream 5.0 Pro와 어떻게 다릅니까?

ByteDance는 세 가지 변경 사항을 밝혔습니다. 멀티턴 편집이 더 안정적이고, 투명 배경 이미지를 별도 처리 없이 바로 생성하며, 이미지가 더 사실적이고 텍스트가 더 선명합니다. Kerox에서는 실질적인 차이도 있습니다. Seedream 5.5는 프롬프트만으로 투명 배경 이미지를 만들 수 있지만, Seedream 5.0 Pro는 이를 위해 참조 이미지 한 장이 필요합니다. 두 모델 모두 계속 사용할 수 있습니다. ByteDance는 Seedream 5.5 시리즈의 Pro 버전도 출시할 예정이라고 밝혔습니다.

### Seedream 5.5로 투명 배경 이미지를 생성할 수 있습니까?

네. API에서 `background`를 `transparent`로 설정하고 출력 형식은 PNG로 유지하면 됩니다. 결과물에 알파 채널이 포함되므로 별도의 배경 제거 과정 없이 바로 페이지나 디자인에 사용할 수 있습니다. ByteDance에 따르면 이 모델은 완전히 투명한 영역과 반투명한 영역을 모두 처리할 수 있습니다.

### Seedream 5.5는 어떤 해상도를 지원합니까?

Kerox에서는 1K, 1.5K, 2K의 세 가지 해상도 옵션을 제공합니다. 옵션을 선택하는 대신 픽셀 단위로 정확한 크기를 지정할 수도 있으며, 총 약 460만 픽셀까지 가능합니다. 가격은 출력물의 픽셀 수에 따라 달라집니다. 1K와 1.5K는 같은 요금이 적용되고 2K는 별도 요금이 적용됩니다. 두 요금 모두 위의 가격표에 나와 있습니다. 기본값은 2K이며 화면 비율은 자동으로 설정됩니다.

### Seedream 5.5로 기존 이미지를 편집할 수 있습니까?

네. 이미지를 참조로 추가하고 원하는 변경 사항을 설명하면 됩니다. 한 번의 요청에 참조 이미지를 최대 10장까지 사용할 수 있으므로 여러 소스를 결합할 수도 있습니다. 참조 이미지마다 가격이 소폭 추가되며, Studio는 생성을 시작하기 전에 참조 이미지 요금을 포함한 총액을 보여 줍니다. ByteDance에 따르면 변경을 요청하지 않은 영역은 픽셀 단위로 유지되므로 한 번에 하나씩 변경하면서 각 결과를 바탕으로 작업을 이어 갈 수 있습니다.


---

## Request example

Submit a task and get its id at once; get the result by polling (below) or by [webhook](https://kerox.ai/ko/docs/webhooks.md). `webhook_url` and `metadata` are optional. To use a webhook, provide your own public HTTPS address in `webhook_url`. Every field is in [Submit a task](https://kerox.ai/ko/docs/tasks.md#submit-body).

Set `KEROX_API_KEY` first. Polling requires Bash, curl and jq. For Python, run `pip install requests` first.

### cURL

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/tasks \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/seedream-5.5",
  "input": {
    "prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
    "resolution": "2K",
    "aspect_ratio": "1:1"
  }
}'
```

### Python

```python
import os
import requests

resp = requests.post(
    "https://api.kerox.ai/v1/tasks",
    headers={
        "Authorization": f"Bearer {os.environ['KEROX_API_KEY']}",
        "Content-Type": "application/json",
    },
    json={
        "model": "bytedance/seedream-5.5",
        "input": {
            "prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
            "resolution": "2K",
            "aspect_ratio": "1:1",
        },
    },
    timeout=60,
)
resp.raise_for_status()
task = resp.json()
print(task["id"], task["status"])  # Save the id for polling
```

### Node.js

```javascript
const res = await fetch('https://api.kerox.ai/v1/tasks', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.KEROX_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "bytedance/seedream-5.5",
    "input": {
      "prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
      "resolution": "2K",
      "aspect_ratio": "1:1"
    }
  }),
});
const task = await res.json();
if (!res.ok) throw new Error(JSON.stringify(task));
console.log(task.id, task.status); // Save the id for polling
```

### Go

```go
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
	"os"
	"time"
)

func main() {
	body := []byte(`{
  "model": "bytedance/seedream-5.5",
  "input": {
    "prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
    "resolution": "2K",
    "aspect_ratio": "1:1"
  }
}`)
	req, _ := http.NewRequest("POST", "https://api.kerox.ai/v1/tasks", bytes.NewReader(body))
	req.Header.Set("Authorization", "Bearer "+os.Getenv("KEROX_API_KEY"))
	req.Header.Set("Content-Type", "application/json")
	client := &http.Client{Timeout: 60 * time.Second}
	resp, err := client.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()
	out, _ := io.ReadAll(resp.Body)
	if resp.StatusCode >= 400 {
		fmt.Fprintln(os.Stderr, string(out))
		os.Exit(1)
	}
	fmt.Println(string(out))
}
```

### Edit a reference image

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/tasks \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/seedream-5.5",
  "input": {
    "prompt": "Keep the lighthouse and change the sky to a clear sunrise",
    "resolution": "2K",
    "aspect_ratio": "1:1",
    "images": [
      "https://cdn.kerox.ai/assets/samples/seedream-5.5/lighthouse-blue-hour.webp"
    ]
  }
}'
```

## Parameters

The [parameter names](https://kerox.ai/ko/docs/models.md) mean the same on every model. You can also send ByteDance's own request body with `"format": "native"`: see [Migrate from ByteDance's API](https://kerox.ai/ko/docs/migrate-from-bytedance.md).

| Parameter | Type | Required | Default | Values | Description | Example |
| --- | --- | --- | --- | --- | --- | --- |
| `prompt` | string | Yes | — | at least one non-whitespace character; at least 1 characters | Text describing what to generate. | `"A lighthouse at dawn"` |
| `images` | string \| string[] | No | — | one public HTTPS URL; or data:image/…;base64,… (≤ 3 MB total per request); one string or an array of 1–10 items; Model file limits: image/jpeg, image/png, image/webp, image/bmp, image/tiff, image/gif, image/heic, image/heif; up to 30 MB each, more than 14 px per side, 196–36,000,000 pixels total, aspect ratio 1:16–16:1 | Images for the model to draw on, in the order the prompt refers to them. | `"https://example.com/photo.png"` |
| `aspect_ratio` | string | No | `"auto"` | auto or W:H (positive integers); aspect ratio 1:16–16:1 | Width to height of the output. | `"16:9"` |
| `resolution` | string | No | `"2K"` | 1K, 1.5K, 2K; total pixels for custom ratios; 1K: 921600–2601123; 1.5K: 921600–2601123; 2K: 2601124–4624220 | Output resolution tier. The exact pixels follow from it and `aspect_ratio`. | `"2K"` |
| `size` | string | No | — | WIDTHxHEIGHT (positive integer pixels); total pixels 921600–4624220; aspect ratio 1:16–16:1 | Width and height of the output in pixels. | `"2048x2048"` |
| `n` | integer | No | `1` | 1 | How many outputs one task may produce. | `1` |
| `output_format` | string | No | `"png"` | png, jpeg | File format of the output. | `"png"` |
| `background` | string | No | `"auto"` | auto, transparent, opaque | Background of the output image; `transparent` gives an image with an alpha channel. | `"auto"` |
| `optimize_prompt_options` | object | No | `{"mode":"standard"}` | mode: standard (default "standard") | How the maker rewrites the prompt before generating. | `{"mode":"standard"}` |
| `watermark` | boolean | No | `false` | true, false | Whether the output carries the maker’s “AI generated” watermark. | `false` |

- When background = "transparent": output_format = "png"
- Do not combine size with resolution or aspect_ratio

Use a public HTTPS URL directly for images, audio and video. For local media, upload with `POST /v1/files` and pass the returned `url`. For upload MIME and size limits, see [Files & inputs](https://kerox.ai/ko/docs/files.md#presigned).

Accepted and ignored: `safety_identifier`. A request may carry them; they are not passed to the model.

## Polling and output

Poll `GET /v1/tasks/{id}`, or pass `webhook_url` when you submit and receive the same task object when it finishes: see [Webhooks](https://kerox.ai/ko/docs/webhooks.md) for the setup. Output files expire at `expires_at` (7 days after completion), so download anything you want to keep. See every task field in [Tasks & polling](https://kerox.ai/ko/docs/tasks.md#submit-response).

Set `TASK_ID` to the `id` returned on submission. The script waits up to 10 minutes, prints `error` on failure and downloads every `outputs[].url` on success.

```bash
(
  set -eu
  # Set TASK_ID to the id returned by the submit request.
  : "${TASK_ID:?Set TASK_ID}"
  deadline=$((SECONDS + 600))
  while (( SECONDS < deadline )); do
    task=$(curl --fail-with-body --silent --show-error --max-time "$((deadline - SECONDS))" https://api.kerox.ai/v1/tasks/"$TASK_ID" \
      -H "Authorization: Bearer $KEROX_API_KEY")
    case $(jq -er .status <<< "$task") in
      succeeded)
        if ! jq -e '.outputs | length > 0' <<< "$task" >/dev/null; then
          echo "Result files are unavailable." >&2
          exit 1
        fi
        i=0
        while IFS= read -r url; do
          file_path=${url%%\?*}
          filename="output-${i}.${file_path##*.}"
          curl --fail-with-body --silent --show-error --max-time 120 "$url" -o "$filename"
          printf "%s\n" "$filename"
          i=$((i + 1))
        done < <(jq -r '.outputs[].url' <<< "$task")
        exit 0 ;;
      failed) jq -c .error <<< "$task" >&2; exit 1 ;;
      processing) sleep 2 ;;
      *) echo "Unexpected task status." >&2; exit 1 ;;
    esac
  done
  echo "Poll timed out. Keep TASK_ID to check again later." >&2
  exit 1
)
```

### Success response JSON

Actual charges depend on your account price and task result.

```json
{
  "id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
  "object": "task",
  "model": "bytedance/seedream-5.5",
  "status": "succeeded",
  "source": "api",
  "format": "unified",
  "input": {
    "prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
    "size": "2048x2048"
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://cdn.kerox.ai/t/task_01JD8X9B4Q2M7T8N3K5P6R1S0V/5f2b8c1e9d3a4f6b8a7c0d1e2f3a4b5c/0.png",
      "content_type": "image/png",
      "width": 2048,
      "height": 2048
    }
  ],
  "outputs_deleted": false,
  "error": null,
  "cost": {
    "amount": "0.0280",
    "currency": "USD",
    "status": "settled"
  },
  "metadata": null,
  "warnings": [],
  "created_at": "2026-11-20T08:00:00Z",
  "started_at": "2026-11-20T08:00:01Z",
  "completed_at": "2026-11-20T08:01:10Z",
  "expires_at": "2026-11-27T08:01:10Z"
}
```

## Pricing

| Tier | Official / image | Kerox / image | Below official price |
| --- | --- | --- | --- |
| 1K/1.5K | $0.0200 | $0.0160 | 20% |
| 2K | $0.0350 | $0.0280 | 20% |

- **Tiers**: set by the pixel count (width × height) of each output image: up to 2,601,123 px is `1K/1.5K`; anything larger is `2K`.
- **Reference images**: each reference image adds $0.0064 (official $0.0080).

### Estimate before submitting

The returned `amount` is what submitting would hold. An estimate creates no task and charges nothing. When `exact` is `false`, the final charge may differ from the hold.

### Base size

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/estimate \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/seedream-5.5",
  "input": {
    "prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
    "resolution": "2K",
    "aspect_ratio": "1:1"
  }
}'
```

### Size tier with a reference image

```bash
curl --fail-with-body -X POST https://api.kerox.ai/v1/estimate \
  -H "Authorization: Bearer $KEROX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/seedream-5.5",
  "input": {
    "prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
    "resolution": "1K",
    "aspect_ratio": "1:1",
    "images": [
      "https://cdn.kerox.ai/assets/samples/seedream-5.5/lighthouse-blue-hour.webp"
    ]
  }
}'
```

## Common usage

| Output | Official price | Kerox | You save |
| --- | --- | --- | --- |
| 1 image · 1K/1.5K | $0.0200 | $0.0160 | 20% |
| 1 image · 2K | $0.0350 | $0.0280 | 20% |

- **$10 gets you**: 625 1K/1.5K images

## Input schema (JSON)

### Parameters (`unified.input_schema`)

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "pattern": "\\S",
      "minLength": 1,
      "description": "Text describing what to generate.",
      "x-label-en": "Prompt",
      "x-label-zh": "提示词",
      "x-tier": "common"
    },
    "images": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^(https://|data:image/)"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^(https://|data:image/)"
          },
          "maxItems": 10,
          "minItems": 1
        }
      ],
      "description": "Images for the model to draw on, in the order the prompt refers to them.",
      "x-label-en": "Reference images",
      "x-label-zh": "参考图",
      "x-tier": "common"
    },
    "aspect_ratio": {
      "type": "string",
      "pattern": "^(auto|[1-9][0-9]*:[1-9][0-9]*)$",
      "default": "auto",
      "examples": [
        "auto",
        "1:1",
        "2:3",
        "3:2",
        "3:4",
        "4:3",
        "16:9",
        "21:9",
        "9:16"
      ],
      "x-constraints": {
        "min_aspect": 0.0625,
        "max_aspect": 16
      },
      "description": "Width to height of the output.",
      "x-label-en": "Aspect ratio",
      "x-label-zh": "画面比例",
      "x-tier": "common"
    },
    "resolution": {
      "type": "string",
      "enum": [
        "1K",
        "1.5K",
        "2K"
      ],
      "default": "2K",
      "description": "Output resolution tier. The exact pixels follow from it and `aspect_ratio`.",
      "x-label-en": "Resolution",
      "x-label-zh": "分辨率",
      "x-tier": "common"
    },
    "size": {
      "type": "string",
      "pattern": "^[1-9][0-9]*x[1-9][0-9]*$",
      "x-constraints": {
        "max_aspect": 16,
        "max_pixels": 4624220,
        "min_aspect": 0.0625,
        "min_pixels": 921600
      },
      "description": "Width and height of the output in pixels.",
      "x-label-en": "Exact size",
      "x-label-zh": "精确尺寸",
      "x-tier": "advanced"
    },
    "n": {
      "type": "integer",
      "const": 1,
      "default": 1,
      "description": "How many outputs one task may produce.",
      "x-label-en": "Number of outputs",
      "x-label-zh": "生成数量",
      "x-tier": "advanced"
    },
    "output_format": {
      "enum": [
        "png",
        "jpeg"
      ],
      "type": "string",
      "default": "png",
      "description": "File format of the output.",
      "x-label-en": "Output format",
      "x-label-zh": "输出格式",
      "x-tier": "advanced"
    },
    "background": {
      "enum": [
        "auto",
        "transparent",
        "opaque"
      ],
      "type": "string",
      "default": "auto",
      "description": "Background of the output image; `transparent` gives an image with an alpha channel.",
      "x-label-en": "Background",
      "x-label-zh": "背景",
      "x-tier": "common"
    },
    "optimize_prompt_options": {
      "type": "object",
      "default": {
        "mode": "standard"
      },
      "properties": {
        "mode": {
          "enum": [
            "standard"
          ],
          "type": "string",
          "x-tier": "advanced",
          "default": "standard",
          "x-label-en": "Mode",
          "x-label-zh": "模式"
        }
      },
      "additionalProperties": false,
      "description": "How the maker rewrites the prompt before generating.",
      "x-label-en": "Prompt optimization",
      "x-label-zh": "提示词优化",
      "x-tier": "advanced"
    },
    "watermark": {
      "type": "boolean",
      "default": false,
      "description": "Whether the output carries the maker’s “AI generated” watermark.",
      "x-label-en": "Watermark",
      "x-label-zh": "水印",
      "x-tier": "advanced"
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false,
  "x-ignored": [
    "safety_identifier"
  ],
  "allOf": [
    {
      "not": {
        "properties": {
          "size": true,
          "resolution": true
        },
        "required": [
          "size",
          "resolution"
        ]
      }
    },
    {
      "not": {
        "properties": {
          "size": true,
          "aspect_ratio": true
        },
        "required": [
          "size",
          "aspect_ratio"
        ]
      }
    },
    {
      "if": {
        "required": [
          "background"
        ],
        "properties": {
          "background": {
            "const": "transparent"
          }
        }
      },
      "then": {
        "properties": {
          "output_format": {
            "const": "png"
          }
        }
      }
    }
  ]
}
```

### ByteDance format (`format: "native"`, `input_schema`)

```json
{
  "type": "object",
  "allOf": [
    {
      "if": {
        "required": [
          "background"
        ],
        "properties": {
          "background": {
            "const": "transparent"
          }
        }
      },
      "then": {
        "properties": {
          "output_format": {
            "const": "png"
          }
        }
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "prompt"
  ],
  "x-ignored": [
    "safety_identifier"
  ],
  "properties": {
    "size": {
      "type": "string",
      "x-tier": "common",
      "default": "2K",
      "pattern": "^(1K|1\\.5K|2K|[1-9][0-9]*x[1-9][0-9]*)$",
      "x-label-en": "Size",
      "x-label-zh": "尺寸",
      "x-constraints": {
        "max_aspect": 16,
        "max_pixels": 4624220,
        "min_aspect": 0.0625,
        "min_pixels": 921600
      }
    },
    "image": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^(https://|data:image/)"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^(https://|data:image/)"
          },
          "maxItems": 10,
          "minItems": 1
        }
      ],
      "x-tier": "common",
      "x-label-en": "Reference images",
      "x-label-zh": "参考图"
    },
    "prompt": {
      "type": "string",
      "x-tier": "common",
      "pattern": "\\S",
      "minLength": 1,
      "x-label-en": "Prompt",
      "x-label-zh": "提示词"
    },
    "watermark": {
      "type": "boolean",
      "x-tier": "advanced",
      "default": false,
      "x-label-en": "Watermark",
      "x-label-zh": "水印"
    },
    "background": {
      "enum": [
        "auto",
        "transparent",
        "opaque"
      ],
      "type": "string",
      "x-tier": "common",
      "default": "auto",
      "x-label-en": "Background",
      "x-label-zh": "背景"
    },
    "output_format": {
      "enum": [
        "png",
        "jpeg"
      ],
      "type": "string",
      "x-tier": "advanced",
      "default": "png",
      "x-label-en": "Output format",
      "x-label-zh": "输出格式"
    },
    "optimize_prompt_options": {
      "type": "object",
      "x-tier": "advanced",
      "default": {
        "mode": "standard"
      },
      "properties": {
        "mode": {
          "enum": [
            "standard"
          ],
          "type": "string",
          "x-tier": "advanced",
          "default": "standard",
          "x-label-en": "Mode",
          "x-label-zh": "模式"
        }
      },
      "x-label-en": "Prompt optimization",
      "x-label-zh": "提示词优化",
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
```
