# Seedance 2.5

> Seedance 2.5 是 ByteDance 推出的影片模型，可生成最長 30 秒、附帶聲音的片段。輸入提示詞，或加入參考圖片、影片和音訊，即可取得多鏡頭影片，且音訊會配合畫面生成。在 Studio 中開啟，即可選擇解析度和影片時長，並在生成前查看價格。

Seedance 2.5 是 ByteDance 推出的 AI 影片生成模型。可透過 Kerox API 以模型 ID bytedance/seedance-2.5 呼叫，或在 Studio 中直接生成，無需撰寫程式碼。在 Kerox 上的價格為 約 $0.0977 / 秒，比官方價格低 5% 起，無需訂閱。

## 定價

| 模型 | ID | 計費方式 | Kerox 費率 | 折扣 |
| --- | --- | --- | --- | --- |
| Seedance 2.5 | `bytedance/seedance-2.5` | 依 token 計費 | 每秒約 $0.0977 起（480p） | 比官方價格低 5% |

以 token 計費之模型的每秒價格，為 16:9 且未使用參考影片時的預估值；使用參考影片時費率會較低。實際依 token 計費。

- [Seedance 2.5 價格](https://kerox.ai/zh-hant/pricing#pricing-bytedance/seedance-2.5)
- [Seedance 2.5 API 文件](https://kerox.ai/zh-hant/docs/models/bytedance/seedance-2.5)
- [Seedance 2.5](https://kerox.ai/zh-hant/models/bytedance/seedance-2.5)

## 關於 Seedance 2.5

Seedance 2.5 是 ByteDance Seed 團隊推出的影片生成模型，於 2026 年 7 月 31 日發布。它在同一次生成中產出畫面與聲音，因此人聲、音效和音樂會隨影片一起產出。ByteDance 表示，這個模型專為在 30 秒內說完一段故事而打造：一次生成可包含多個相連的鏡頭，而不只是單一短鏡頭。

### ByteDance 公布的 2.5 版更新重點

- **更長的片段。** 單次生成最長可達 30 秒，Seedance 2.0 則為 15 秒。
- **更多參考素材。** 單一請求最多可附帶 30 張圖片、10 段影片和 10 段音訊。Seedance 2.0 則分別為 9、3、3。
- **相連的鏡頭。** 在 30 秒內，模型可以安排多個前後銜接的鏡頭。
- **角色外貌與聲音一致。** 在同一部影片中，多個角色的外貌與聲音都能保持一致。
- **更自然的畫面。** 針對質感、皮膚、眼睛、光線和色彩飽和度進行調校，改善 AI 影片畫面常見的不自然感。

ByteDance 也說明了模型仍有不足之處：複雜動作不一定符合物理規律，眾多主體互動的場景也仍有待改善。

在 Kerox 上，Seedance 2.5 支援 480p、720p 和 1080p 解析度，長度為 4 至 30 秒，可選擇六種長寬比，或將長寬比設為自動。 想了解這次發布的背景與經過，請閱讀[什麼是 Seedance 2.5？](https://kerox.ai/zh-hant/blog/what-is-seedance-2-5)

## 如何使用 Seedance 2.5

1. **儲值** $5 起即可儲值。無需訂閱，餘額也不會過期。
2. **設定影片** 輸入提示詞，選擇解析度、時長和長寬比，需要時再加入參考檔案。開始前會先顯示這些設定的價格。
3. **生成並下載影片** 開始生成時會先保留這筆金額，影片完成後才結算。生成失敗會全額退款。

## 用 Seedance 2.5 能創作哪些內容

- **文字生成有聲影片。** 只要一段提示詞，就能產生含人聲、音效和音樂的片段。
- **圖片生成影片。** 從第一個影格開始，或設定第一個和最後一個影格，模型會補上兩者之間的動作。
- **短片與廣告。** 依序描述各個鏡頭，即可生成一支最長 30 秒、由這些鏡頭剪接而成的影片。
- **依照參考素材生成影片。** 傳入圖片、影片片段和音訊片段，再依加入的順序在提示詞中引用它們。
- **編輯或延長影片。** 用提示詞修改現有片段的一部分，或從片尾接續延伸。

## Seedance 2.5 與 Kerox 平台上的其他模型比較

這些模型共用同一個餘額和同一套 API。只要更改模型 ID 即可切換。各模型的最低價格請見下表。

| 模型 | 適用時機 | 起始價格 |
| --- | --- | --- |
| [Seedance 2.5](https://kerox.ai/zh-hant/models/bytedance/seedance-2.5) | 需要超過 15 秒的片段、大量參考素材，或在一支影片中包含多個鏡頭，最高 1080p。 | 每秒約 $0.0977 起（480p） |
| [Seedance 2.5 Flash](https://kerox.ai/zh-hant/models/bytedance/seedance-2.5-flash) | 同樣最長 30 秒、支援相同類型的參考素材，解析度為 480p 或 720p。適合草稿和大量生成。 | 每秒約 $0.0639 起（480p） |
| [Seedance 2.0](https://kerox.ai/zh-hant/models/bytedance/seedance-2.0) | 片段最長 15 秒，可輸出 4K。15 秒已足夠或需要 4K 時選它。 | 每秒約 $0.0668 起（480p） |
| [Magi-2](https://kerox.ai/zh-hant/models/sand-ai/magi-2) | Sand AI 的影片模型，最長 30 秒、1080p 並含音訊。需要較長、含對白或音訊的 1080p 片段時選它。 | 1080p: $0.1000 |
| [Seedance 2.0 Mini](https://kerox.ai/zh-hant/models/bytedance/seedance-2.0-mini) | 較輕量的 Seedance 2.0 模型，最長 15 秒，解析度為 480p 或 720p。適合在正式生成前測試提示詞。 | 每秒約 $0.0193 起（480p） |
| [MiniMax H3](https://kerox.ai/zh-hant/models/minimax/h3) | MiniMax 的影片模型，4 到 15 秒，解析度為 768p 或 2K。需要 2K 輸出時選它。 | 2K: $0.0650, 768p: $0.0400 |
| [Wan 3.0](https://kerox.ai/zh-hant/models/alibaba/wan-3.0) | Alibaba 的影片模型，2 到 30 秒，最高 1080p。適合非常短的片段，或想用另一款最長 30 秒的模型測試同一段提示詞時選它。 | 480p: $0.0400, 720p: $0.0800, 1080p: $0.1600 |
| [Seedream 5.5](https://kerox.ai/zh-hant/models/bytedance/seedream-5.5) | ByteDance 的圖片模型。要製作首影格或參考圖片時，請選擇它。 | 1K/1.5K: $0.0160, 2K: $0.0280 |
| [GPT Image 2.6 Flare Economy](https://kerox.ai/zh-hant/models/openai/gpt-image-2.6-flare-economy) | OpenAI 的圖片模型。要製作 4K 首影格時，請選擇它。 | 1K: $0.0150, 2K: $0.0450, 4K: $0.0600 |

## 常見問題

### Seedance 2.5 的價格是多少？

在 Kerox 上，Seedance 2.5 的價格從 約 $0.0977 / 秒 起，比官方價格低 5%。按次計費，生成失敗不收費。本頁的價格表列出了所有選項。

### Seedance 2.5 有提供 API 嗎？

有。使用模型 ID bytedance/seedance-2.5 向 Kerox API 提交任務，再輪詢任務狀態，或在任務完成時接收 Webhook 通知。Seedance 2.5 的 API 文件 列出所有參數，並附有程式碼範例。

### 不寫程式碼也能在線上使用 Seedance 2.5 嗎？

可以。在 Kerox Studio 中開啟 Seedance 2.5，輸入提示詞，即可直接在瀏覽器中生成。Studio 與 API 共用相同的餘額。

### 使用 Seedance 2.5 需要訂閱嗎？

不需要。沒有方案，也沒有月費。最低儲值 $5，只需為實際生成的內容付費。

### 如何使用 Seedance 2.5？

登入 Kerox，在 Studio 中開啟 Seedance 2.5，輸入提示詞，即可在瀏覽器中生成。若要透過程式碼使用，請建立 API 金鑰，並以模型 ID bytedance/seedance-2.5 送出任務。

### Seedance 2.5 現在可以使用了嗎？

可以。ByteDance 於 2026 年 7 月 31 日發布 Seedance 2.5，現已在 Kerox 上線。你可以在 Studio 中生成，或透過 API 以模型 ID `bytedance/seedance-2.5` 呼叫。

### 可以免費使用 Seedance 2.5 嗎？

在 Kerox 上不行。目前沒有免費方案或免費試用。最低儲值 $5，只需為實際生成的內容付費。

### Seedance 2.5 很貴嗎？

取決於解析度和長度。此模型依 token 計費，影片越長或越清晰，使用的 token 就越多。使用參考影片可降低每個 token 的費率，但參考影片的長度也會計入。上方的價格表以常見的影片規格為例，列出對應價格並與官方定價對照；Studio 也會在你開始生成前，依你的實際設定顯示價格。

### Seedance 2.5 的影片最長多久？

單次生成可產生 4 到 30 秒的影片，也可以讓模型自行決定長度。如需更長的影片，可以延長已完成的影片：將它作為參考影片傳回，並將任務類型設為 extend。

### Seedance 2.5 會生成聲音嗎？

會。預設會與影片一起生成人聲、音效和音樂。如需無聲影片，請在 Studio 中關閉「生成音訊」，或在 API 中將 `generate_audio` 設為 false。聲音不影響價格。

### Seedance 2.5 和 Seedance 2.0 有什麼不同？

Seedance 2.5 將單次生成的最長長度從 15 秒加倍至 30 秒，並支援更多參考素材：最多 30 張圖片、10 段影片和 10 段音訊；Seedance 2.0 則分別為 9 張圖片、3 段影片和 3 段音訊。Seedance 2.0 仍可在 Kerox 上使用。上方的比較表列出兩者目前的起始價格。


---

## Request example

Submit a task and get its id at once; get the result by polling (below) or by [webhook](https://kerox.ai/zh-hant/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/zh-hant/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/seedance-2.5",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "16:9"
  }
}'
```

### 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/seedance-2.5",
        "input": {
            "prompt": "a red fox running through fresh snow, cinematic lighting",
            "resolution": "720p",
            "duration": 5,
            "aspect_ratio": "16:9",
        },
    },
    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/seedance-2.5",
    "input": {
      "prompt": "a red fox running through fresh snow, cinematic lighting",
      "resolution": "720p",
      "duration": 5,
      "aspect_ratio": "16:9"
    }
  }),
});
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/seedance-2.5",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "16:9"
  }
}`)
	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))
}
```

### 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/seedance-2.5",
  "input": {
    "prompt": "Image 1: the lighthouse beam sweeps slowly across the water",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "images": [
      "https://cdn.kerox.ai/assets/samples/seedream-5.5/lighthouse-blue-hour.webp"
    ],
    "omni_reference_task_type": "auto"
  }
}'
```

### First frame

```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/seedance-2.5",
  "input": {
    "prompt": "A lighthouse beam sweeps slowly across the waves",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "auto",
    "first_frame": "https://cdn.kerox.ai/assets/samples/seedream-5.5/lighthouse-blue-hour.webp"
  }
}'
```

### First and last frames

```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/seedance-2.5",
  "input": {
    "prompt": "Slowly dissolve from the coast to the cabin by the lake",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "auto",
    "first_frame": "https://cdn.kerox.ai/assets/samples/seedream-5.5/lighthouse-blue-hour.webp",
    "last_frame": "https://cdn.kerox.ai/assets/samples/seedream-5.0-pro/alpine-cabin-dawn.webp"
  }
}'
```

### Reference video

```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/seedance-2.5",
  "input": {
    "prompt": "Use the camera motion of Video 1 for a flyover of a rocky coastline",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "videos": [
      "https://cdn.kerox.ai/assets/samples/seedance-2.0/sea-stacks-fog.mp4"
    ],
    "omni_reference_task_type": "reference"
  }
}'
```

### Edit a reference video

```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/seedance-2.5",
  "input": {
    "prompt": "Change the sky in Video 1 to a warm sunset",
    "videos": [
      "https://cdn.kerox.ai/assets/samples/seedance-2.0/sea-stacks-fog.mp4"
    ],
    "omni_reference_task_type": "edit",
    "aspect_ratio": "auto",
    "duration": -1
  }
}'
```

### Extend a reference video

```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/seedance-2.5",
  "input": {
    "prompt": "Continue Video 1 as the camera moves farther out over the sea",
    "videos": [
      "https://cdn.kerox.ai/assets/samples/seedance-2.0/sea-stacks-fog.mp4"
    ],
    "omni_reference_task_type": "extend",
    "aspect_ratio": "auto"
  }
}'
```

### Reference audio

```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/seedance-2.5",
  "input": {
    "prompt": "Show a dinosaur at dusk and time its roar to Audio 1",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "audios": [
      "https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3"
    ]
  }
}'
```

## Parameters

The [parameter names](https://kerox.ai/zh-hant/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/zh-hant/docs/migrate-from-bytedance.md).

| Parameter | Type | Required | Default | Values | Description | Example |
| --- | --- | --- | --- | --- | --- | --- |
| `prompt` | string | No | — | 1–10000 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–30 items; Model file limits: image/jpeg, image/png, image/webp, image/bmp, image/tiff, image/gif, image/heic, image/heif; under 30 MB each, 300–6,000 px per side, aspect ratio 0.4–2.5 | Images for the model to draw on, in the order the prompt refers to them. | `"https://example.com/photo.png"` |
| `videos` | string \| string[] | No | — | one public HTTPS URL; one string or an array of 1–10 items; Model file limits: video/mp4 or video/quicktime (H.264/H.265), up to 200 MB each; 480p–4K, 300–6,000 px per side, 407,696–8,847,360 pixels, 24–60 fps; 2–30 s each, up to 30 s total | Videos for the model to draw on, in the order the prompt refers to them. | `"https://example.com/clip.mp4"` |
| `audios` | string \| string[] | No | — | one public HTTPS URL; or data:audio/…;base64,… (≤ 3 MB total per request); one string or an array of 1–10 items; Model file limits: audio/wav or audio/mpeg (MP3), up to 15 MB each; 2–30 s each, up to 30 s total | Audio clips for the model to draw on, in the order the prompt refers to them. | `"https://example.com/music.wav"` |
| `first_frame` | string | No | — | one public HTTPS URL; or data:image/…;base64,… (≤ 3 MB total per request); Model file limits: image/jpeg, image/png, image/webp, image/bmp, image/tiff, image/gif, image/heic, image/heif; under 30 MB each, 300–6,000 px per side, aspect ratio 0.4–2.5 | The image a video starts from. | `"https://example.com/start.png"` |
| `last_frame` | string | No | — | one public HTTPS URL; or data:image/…;base64,… (≤ 3 MB total per request); Model file limits: image/jpeg, image/png, image/webp, image/bmp, image/tiff, image/gif, image/heic, image/heif; under 30 MB each, 300–6,000 px per side, aspect ratio 0.4–2.5 | The image a video ends on. Needs `first_frame`. | `"https://example.com/end.png"` |
| `aspect_ratio` | string | No | `"auto"` | auto, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | Width to height of the output. | `"16:9"` |
| `resolution` | string | No | `"720p"` | 480p, 720p, 1080p | Output resolution tier. The exact pixels follow from it and `aspect_ratio`. | `"720p"` |
| `duration` | integer | No | `5` | -1 (automatic duration); 4–30 | Length of the output in whole seconds. | `5` |
| `n` | integer | No | `1` | 1 | How many outputs one task may produce. | `1` |
| `generate_audio` | boolean | No | `true` | true, false | Whether the video comes with generated sound (voice, effects, music). | `true` |
| `omni_reference_task_type` | string | No | — | auto, reference, edit, extend | What to do with the references: generate from them, edit a video, or extend one. Only with reference images, videos or audios; leave it out for text-to-video and first or last frames, where it is rejected. Left out, the model decides (`"auto"`). | `"auto"` |
| `output_format` | string | No | `"mp4"` | mp4, mov | File format of the output. | `"mp4"` |
| `return_last_frame` | boolean | No | `false` | true, false | Whether the result also includes the video’s last frame as an image, to continue from. | `false` |
| `watermark` | boolean | No | `false` | true, false | Whether the output carries the maker’s “AI generated” watermark. | `false` |

- Supply at least one of: prompt or first_frame or images or videos or audios
- last_frame requires first_frame
- When omni_reference_task_type = "edit": supply duration, videos; videos ≤ 1 items; duration = -1; aspect_ratio = "auto"
- When omni_reference_task_type = "extend": supply videos; aspect_ratio = "auto"
- When first_frame: aspect_ratio = "auto"
- When omni_reference_task_type: supply images or videos or audios
- Do not combine first_frame with images or videos or audios

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/zh-hant/docs/files.md#presigned).

Accepted and ignored: `priority`, `safety_identifier`, `service_tier`. 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/zh-hant/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/zh-hant/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/seedance-2.5",
  "status": "succeeded",
  "source": "api",
  "format": "unified",
  "input": {
    "content": [
      {
        "type": "text",
        "text": "a red fox running through fresh snow, cinematic lighting"
      }
    ],
    "ratio": "16:9",
    "resolution": "720p",
    "duration": 5
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://cdn.kerox.ai/t/task_01JD8X9B4Q2M7T8N3K5P6R1S0V/5f2b8c1e9d3a4f6b8a7c0d1e2f3a4b5c/0.mp4",
      "content_type": "video/mp4",
      "width": 1280,
      "height": 720,
      "duration": 5
    }
  ],
  "outputs_deleted": false,
  "error": null,
  "cost": {
    "amount": "1.0978",
    "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

**From approx. $0.0977 / s (480p)** at 16:9 without a reference video. Billed by tokens. 5% below official price

| Resolution | Without reference video (approx. / s) | With reference video (approx. / s) | Official / 1M tokens | Kerox / 1M tokens | With reference video: official / 1M tokens | With reference video: Kerox / 1M tokens |
| --- | --- | --- | --- | --- | --- | --- |
| 480p | $0.0977 | $0.0584 | $10.7000 | $10.1650 | $6.4000 | $6.0800 |
| 720p | $0.2196 | $0.1313 | $10.7000 | $10.1650 | $6.4000 | $6.0800 |
| 1080p | $0.5402 | $0.3232 | $11.7000 | $11.1150 | $7.0000 | $6.6500 |

- **Token formula**: `tokens = (output seconds + reference video seconds) × width × height × 24 / 1024`. With a reference video, the lower rate applies to the combined duration (output plus reference video).
- **Aspect ratio and audio**: approx. per-second prices are converted at 16:9 without a reference video. Other aspect ratios at the same resolution differ by under 5%, and audio does not change the price.
- **Estimate before you submit**: call `POST /v1/estimate`, or check Studio, for the estimated cost of your exact parameters.

### 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.

### Without a reference video

```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/seedance-2.5",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "16:9"
  }
}'
```

### With a reference video

```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/seedance-2.5",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "videos": [
      "https://cdn.kerox.ai/assets/samples/seedance-2.0/sea-stacks-fog.mp4"
    ]
  }
}'
```

## Common usage

| Clip | Official price | Kerox | You save |
| --- | --- | --- | --- |
| 5 s · 480p | $0.5140 | $0.4883 | 5% |
| 10 s · 480p | $1.0280 | $0.9766 | 5% |
| 15 s · 480p | $1.5420 | $1.4649 | 5% |
| 5 s · 720p | $1.1556 | $1.0978 | 5% |
| 10 s · 720p | $2.3112 | $2.1956 | 5% |
| 15 s · 720p | $3.4668 | $3.2935 | 5% |
| 5 s · 1080p | $2.8431 | $2.7009 | 5% |
| 10 s · 1080p | $5.6862 | $5.4019 | 5% |
| 15 s · 1080p | $8.5293 | $8.1028 | 5% |

- **$10 gets you**: About 102 seconds of 480p video

## Input schema (JSON)

### Parameters (`unified.input_schema`)

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "minLength": 1,
      "maxLength": 10000,
      "x-references": {
        "images": "@Image {n}",
        "videos": "@Video {n}",
        "audios": "@Audio {n}"
      },
      "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",
          "minItems": 1,
          "maxItems": 30,
          "items": {
            "type": "string",
            "pattern": "^(https://|data:image/)"
          }
        }
      ],
      "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"
    },
    "videos": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^https://"
        },
        {
          "type": "array",
          "minItems": 1,
          "maxItems": 10,
          "items": {
            "type": "string",
            "pattern": "^https://"
          }
        }
      ],
      "description": "Videos for the model to draw on, in the order the prompt refers to them.",
      "x-label-en": "Reference videos",
      "x-label-zh": "参考视频",
      "x-tier": "common"
    },
    "audios": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^(https://|data:audio/)"
        },
        {
          "type": "array",
          "minItems": 1,
          "maxItems": 10,
          "items": {
            "type": "string",
            "pattern": "^(https://|data:audio/)"
          }
        }
      ],
      "description": "Audio clips for the model to draw on, in the order the prompt refers to them.",
      "x-label-en": "Reference audio",
      "x-label-zh": "参考音频",
      "x-tier": "common"
    },
    "first_frame": {
      "type": "string",
      "pattern": "^(https://|data:image/)",
      "description": "The image a video starts from.",
      "x-label-en": "First frame",
      "x-label-zh": "首帧",
      "x-tier": "common"
    },
    "last_frame": {
      "type": "string",
      "pattern": "^(https://|data:image/)",
      "description": "The image a video ends on. Needs `first_frame`.",
      "x-label-en": "Last frame",
      "x-label-zh": "尾帧",
      "x-tier": "common"
    },
    "aspect_ratio": {
      "type": "string",
      "enum": [
        "auto",
        "21:9",
        "16:9",
        "4:3",
        "1:1",
        "3:4",
        "9:16"
      ],
      "default": "auto",
      "description": "Width to height of the output.",
      "x-label-en": "Aspect ratio",
      "x-label-zh": "画面比例",
      "x-tier": "common"
    },
    "resolution": {
      "type": "string",
      "enum": [
        "480p",
        "720p",
        "1080p"
      ],
      "default": "720p",
      "description": "Output resolution tier. The exact pixels follow from it and `aspect_ratio`.",
      "x-label-en": "Resolution",
      "x-label-zh": "分辨率",
      "x-tier": "common"
    },
    "duration": {
      "type": "integer",
      "anyOf": [
        {
          "const": -1
        },
        {
          "maximum": 30,
          "minimum": 4
        }
      ],
      "default": 5,
      "description": "Length of the output in whole seconds.",
      "x-label-en": "Duration",
      "x-label-zh": "时长",
      "x-tier": "common"
    },
    "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"
    },
    "generate_audio": {
      "type": "boolean",
      "default": true,
      "description": "Whether the video comes with generated sound (voice, effects, music).",
      "x-label-en": "Generate audio",
      "x-label-zh": "生成声音",
      "x-tier": "common"
    },
    "omni_reference_task_type": {
      "enum": [
        "auto",
        "reference",
        "edit",
        "extend"
      ],
      "type": "string",
      "description": "What to do with the references: generate from them, edit a video, or extend one. Only with reference images, videos or audios; leave it out for text-to-video and first or last frames, where it is rejected. Left out, the model decides (`\"auto\"`).",
      "x-label-en": "Reference task",
      "x-label-zh": "参考任务类型",
      "x-tier": "advanced"
    },
    "output_format": {
      "enum": [
        "mp4",
        "mov"
      ],
      "type": "string",
      "default": "mp4",
      "description": "File format of the output.",
      "x-label-en": "Output format",
      "x-label-zh": "输出格式",
      "x-tier": "advanced"
    },
    "return_last_frame": {
      "type": "boolean",
      "default": false,
      "description": "Whether the result also includes the video’s last frame as an image, to continue from.",
      "x-label-en": "Return last frame",
      "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"
    }
  },
  "anyOf": [
    {
      "properties": {
        "prompt": true
      },
      "required": [
        "prompt"
      ]
    },
    {
      "properties": {
        "first_frame": true
      },
      "required": [
        "first_frame"
      ]
    },
    {
      "properties": {
        "images": true
      },
      "required": [
        "images"
      ]
    },
    {
      "properties": {
        "videos": true
      },
      "required": [
        "videos"
      ]
    },
    {
      "properties": {
        "audios": true
      },
      "required": [
        "audios"
      ]
    }
  ],
  "dependentRequired": {
    "last_frame": [
      "first_frame"
    ]
  },
  "additionalProperties": false,
  "x-ignored": [
    "priority",
    "safety_identifier",
    "service_tier"
  ],
  "allOf": [
    {
      "not": {
        "properties": {
          "first_frame": true,
          "images": true
        },
        "required": [
          "first_frame",
          "images"
        ]
      }
    },
    {
      "not": {
        "properties": {
          "first_frame": true,
          "videos": true
        },
        "required": [
          "first_frame",
          "videos"
        ]
      }
    },
    {
      "not": {
        "properties": {
          "first_frame": true,
          "audios": true
        },
        "required": [
          "first_frame",
          "audios"
        ]
      }
    },
    {
      "if": {
        "required": [
          "omni_reference_task_type"
        ],
        "properties": {
          "omni_reference_task_type": {
            "const": "edit"
          }
        }
      },
      "then": {
        "required": [
          "duration",
          "videos"
        ],
        "properties": {
          "videos": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "maxItems": 1
              }
            ]
          },
          "duration": {
            "const": -1
          },
          "aspect_ratio": {
            "const": "auto"
          }
        }
      }
    },
    {
      "if": {
        "required": [
          "omni_reference_task_type"
        ],
        "properties": {
          "omni_reference_task_type": {
            "const": "extend"
          }
        }
      },
      "then": {
        "required": [
          "videos"
        ],
        "properties": {
          "videos": true,
          "aspect_ratio": {
            "const": "auto"
          }
        }
      }
    },
    {
      "if": {
        "required": [
          "first_frame"
        ],
        "properties": {
          "first_frame": true
        }
      },
      "then": {
        "properties": {
          "aspect_ratio": {
            "const": "auto"
          }
        }
      }
    },
    {
      "if": {
        "required": [
          "omni_reference_task_type"
        ],
        "properties": {
          "omni_reference_task_type": true
        }
      },
      "then": {
        "anyOf": [
          {
            "required": [
              "images"
            ],
            "properties": {
              "images": true
            }
          },
          {
            "required": [
              "videos"
            ],
            "properties": {
              "videos": true
            }
          },
          {
            "required": [
              "audios"
            ],
            "properties": {
              "audios": true
            }
          }
        ]
      }
    }
  ]
}
```

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

```json
{
  "type": "object",
  "allOf": [
    {
      "if": {
        "required": [
          "omni_reference_task_type"
        ],
        "properties": {
          "omni_reference_task_type": {
            "const": "edit"
          }
        }
      },
      "then": {
        "required": [
          "duration"
        ],
        "x-message": "duration must be -1 when omni_reference_task_type is edit.",
        "properties": {
          "ratio": {
            "const": "adaptive",
            "x-message": "ratio must be adaptive when omni_reference_task_type is edit.",
            "x-unified": {
              "param": "aspect_ratio",
              "message": "aspect_ratio must be auto when omni_reference_task_type is edit."
            }
          },
          "content": {
            "contains": {
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "const": "video_url"
                }
              }
            },
            "x-message": "content must have exactly one reference video when omni_reference_task_type is edit.",
            "x-unified": {
              "param": "videos",
              "message": "videos must have exactly one item when omni_reference_task_type is edit."
            },
            "maxContains": 1,
            "minContains": 1
          },
          "duration": {
            "const": -1,
            "x-message": "duration must be -1 when omni_reference_task_type is edit."
          }
        }
      },
      "x-unified-rule": {
        "if": {
          "required": [
            "omni_reference_task_type"
          ],
          "properties": {
            "omni_reference_task_type": {
              "const": "edit"
            }
          }
        },
        "then": {
          "required": [
            "duration",
            "videos"
          ],
          "properties": {
            "videos": {
              "oneOf": [
                {
                  "type": "string"
                },
                {
                  "type": "array",
                  "maxItems": 1
                }
              ]
            },
            "duration": {
              "const": -1
            },
            "aspect_ratio": {
              "const": "auto"
            }
          }
        }
      }
    },
    {
      "if": {
        "required": [
          "omni_reference_task_type"
        ],
        "properties": {
          "omni_reference_task_type": {
            "const": "extend"
          }
        }
      },
      "then": {
        "properties": {
          "ratio": {
            "const": "adaptive",
            "x-message": "ratio must be adaptive when omni_reference_task_type is extend.",
            "x-unified": {
              "param": "aspect_ratio",
              "message": "aspect_ratio must be auto when omni_reference_task_type is extend."
            }
          },
          "content": {
            "contains": {
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "const": "video_url"
                }
              }
            },
            "x-message": "content must have at least one reference video when omni_reference_task_type is extend.",
            "x-unified": {
              "param": "videos",
              "message": "videos must have at least one item when omni_reference_task_type is extend."
            },
            "minContains": 1
          }
        }
      },
      "x-unified-rule": {
        "if": {
          "required": [
            "omni_reference_task_type"
          ],
          "properties": {
            "omni_reference_task_type": {
              "const": "extend"
            }
          }
        },
        "then": {
          "required": [
            "videos"
          ],
          "properties": {
            "videos": true,
            "aspect_ratio": {
              "const": "auto"
            }
          }
        }
      }
    },
    {
      "if": {
        "required": [
          "content"
        ],
        "properties": {
          "content": {
            "contains": {
              "anyOf": [
                {
                  "not": {
                    "required": [
                      "role"
                    ],
                    "properties": {
                      "role": true
                    }
                  }
                },
                {
                  "required": [
                    "role"
                  ],
                  "properties": {
                    "role": {
                      "const": "first_frame"
                    }
                  }
                }
              ],
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "const": "image_url"
                }
              }
            }
          }
        }
      },
      "then": {
        "properties": {
          "ratio": {
            "const": "adaptive",
            "x-message": "ratio must be adaptive for first-frame image-to-video.",
            "x-unified": {
              "param": "aspect_ratio",
              "message": "aspect_ratio must be auto for first-frame image-to-video."
            }
          }
        }
      },
      "x-unified-rule": {
        "if": {
          "required": [
            "first_frame"
          ],
          "properties": {
            "first_frame": true
          }
        },
        "then": {
          "properties": {
            "aspect_ratio": {
              "const": "auto"
            }
          }
        }
      }
    },
    {
      "if": {
        "required": [
          "omni_reference_task_type"
        ],
        "properties": {
          "omni_reference_task_type": true
        }
      },
      "then": {
        "properties": {
          "content": {
            "contains": {
              "required": [
                "role"
              ],
              "properties": {
                "role": {
                  "enum": [
                    "reference_image",
                    "reference_video",
                    "reference_audio"
                  ]
                }
              }
            },
            "x-message": "omni_reference_task_type only works with reference images, videos or audio. Leave it out for text-to-video and first-frame or first-and-last-frame generation.",
            "x-unified": {
              "param": "omni_reference_task_type",
              "message": "omni_reference_task_type only works with images, videos or audios. Leave it out for text-to-video and first-frame or first-and-last-frame generation."
            },
            "minContains": 1
          }
        }
      },
      "x-unified-rule": {
        "if": {
          "required": [
            "omni_reference_task_type"
          ],
          "properties": {
            "omni_reference_task_type": true
          }
        },
        "then": {
          "anyOf": [
            {
              "required": [
                "images"
              ],
              "properties": {
                "images": true
              }
            },
            {
              "required": [
                "videos"
              ],
              "properties": {
                "videos": true
              }
            },
            {
              "required": [
                "audios"
              ],
              "properties": {
                "audios": true
              }
            }
          ]
        }
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "content"
  ],
  "x-ignored": [
    "priority",
    "safety_identifier",
    "service_tier"
  ],
  "properties": {
    "ratio": {
      "enum": [
        "adaptive",
        "21:9",
        "16:9",
        "4:3",
        "1:1",
        "3:4",
        "9:16"
      ],
      "type": "string",
      "x-tier": "common",
      "default": "adaptive",
      "x-label-en": "Aspect ratio",
      "x-label-zh": "画面比例"
    },
    "content": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "title": "Text",
            "required": [
              "type",
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "maxLength": 10000,
                "minLength": 1
              },
              "type": {
                "const": "text"
              }
            },
            "additionalProperties": false
          },
          {
            "type": "object",
            "title": "Image",
            "required": [
              "type",
              "image_url"
            ],
            "properties": {
              "role": {
                "enum": [
                  "first_frame",
                  "last_frame",
                  "reference_image"
                ],
                "type": "string"
              },
              "type": {
                "const": "image_url"
              },
              "image_url": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "pattern": "^(https://|data:image/)"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          {
            "type": "object",
            "title": "Video",
            "required": [
              "type",
              "video_url",
              "role"
            ],
            "properties": {
              "role": {
                "const": "reference_video"
              },
              "type": {
                "const": "video_url"
              },
              "video_url": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "pattern": "^https://"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          {
            "type": "object",
            "title": "Audio",
            "required": [
              "type",
              "audio_url",
              "role"
            ],
            "properties": {
              "role": {
                "const": "reference_audio"
              },
              "type": {
                "const": "audio_url"
              },
              "audio_url": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "pattern": "^(https://|data:audio/)"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        ]
      },
      "x-tier": "common",
      "minItems": 1,
      "x-label-en": "Content",
      "x-label-zh": "输入内容",
      "x-constraints": {
        "max_text_items": 1,
        "audio_only_allowed": true,
        "max_reference_audios": 10,
        "max_reference_images": 30,
        "max_reference_videos": 10,
        "first_last_frame_exclusive_with_references": true
      }
    },
    "duration": {
      "type": "integer",
      "anyOf": [
        {
          "const": -1
        },
        {
          "maximum": 30,
          "minimum": 4
        }
      ],
      "x-tier": "common",
      "default": 5,
      "x-label-en": "Duration",
      "x-label-zh": "时长"
    },
    "watermark": {
      "type": "boolean",
      "x-tier": "advanced",
      "default": false,
      "x-label-en": "Watermark",
      "x-label-zh": "水印"
    },
    "resolution": {
      "enum": [
        "480p",
        "720p",
        "1080p"
      ],
      "type": "string",
      "x-tier": "common",
      "default": "720p",
      "x-label-en": "Resolution",
      "x-label-zh": "分辨率"
    },
    "output_format": {
      "enum": [
        "mp4",
        "mov"
      ],
      "type": "string",
      "x-tier": "advanced",
      "default": "mp4",
      "x-label-en": "Container",
      "x-label-zh": "封装格式"
    },
    "generate_audio": {
      "type": "boolean",
      "x-tier": "common",
      "default": true,
      "x-label-en": "Generate audio",
      "x-label-zh": "生成声音"
    },
    "return_last_frame": {
      "type": "boolean",
      "x-tier": "advanced",
      "default": false,
      "x-label-en": "Return last frame",
      "x-label-zh": "返回尾帧"
    },
    "omni_reference_task_type": {
      "enum": [
        "auto",
        "reference",
        "edit",
        "extend"
      ],
      "type": "string",
      "x-tier": "advanced",
      "x-label-en": "Reference task",
      "x-label-zh": "参考任务类型"
    }
  },
  "additionalProperties": false
}
```
