# Seedance 2.0

> Seedance 2.0 là mô hình video của ByteDance, tạo clip dài tối đa 15 giây có âm thanh, với độ phân giải lên đến 4K trên Kerox. Hãy viết lời nhắc hoặc thêm hình ảnh, video và âm thanh tham chiếu để nhận được video nhiều cảnh quay với âm thanh phù hợp. Mở mô hình trong Studio để chọn độ phân giải, thời lượng và xem giá trước khi tạo.

Seedance 2.0 là công cụ tạo video bằng AI của ByteDance. Bạn có thể gọi mô hình qua Kerox API với ID mô hình bytedance/seedance-2.0, hoặc tạo nội dung trong Studio mà không cần viết mã. Trên Kerox, giá từ khoảng $0.0668 / giây, thấp hơn 5% so với giá chính thức, không cần đăng ký gói.

## Bảng giá

| Mô hình | ID | Thanh toán | Giá Kerox | Giảm giá |
| --- | --- | --- | --- | --- |
| Seedance 2.0 | `bytedance/seedance-2.0` | Tính phí theo token | Từ khoảng $0.0668 / giây (480p) | Thấp hơn giá chính thức 5% |

Giá theo giây của các mô hình tính phí theo token chỉ là ước tính ở tỷ lệ 16:9 khi không có video tham chiếu; nếu có video tham chiếu, mức giá sẽ thấp hơn. Việc tính phí được thực hiện theo token.

- [Bảng giá Seedance 2.0](https://kerox.ai/vi/pricing#pricing-bytedance/seedance-2.0)
- [Tài liệu API Seedance 2.0](https://kerox.ai/vi/docs/models/bytedance/seedance-2.0)
- [Seedance 2.0](https://kerox.ai/vi/models/bytedance/seedance-2.0)

## Giới thiệu về Seedance 2.0

Seedance 2.0 là mô hình tạo video của nhóm ByteDance Seed, ra mắt vào tháng 2 năm 2026. ByteDance mô tả đây là mô hình đa phương thức được thiết kế ngay từ đầu để tạo đồng thời hình ảnh và âm thanh: mỗi lần tạo có thể cho ra một clip dài 15 giây gồm nhiều cảnh quay. Mô hình này là phiên bản kế nhiệm của Seedance 1.5.

### Những điểm mới của phiên bản 2.0, theo ByteDance

- **Bốn loại đầu vào.** Một yêu cầu có thể kết hợp văn bản, hình ảnh, video và âm thanh: tối đa 9 hình ảnh, 3 đoạn video và 3 đoạn âm thanh cùng với lời nhắc.
- **Âm thanh stereo.** Nhạc nền, âm thanh môi trường và giọng nói của nhân vật được tạo song song với hình ảnh.
- **Có thể tham chiếu gần như mọi yếu tố.** Mô hình có thể tham chiếu bố cục, chuyển động, cách di chuyển máy quay, hiệu ứng hình ảnh và âm thanh từ các tệp bạn cung cấp.
- **Clip nhiều cảnh quay.** Một lần tạo cho ra tối đa 15 giây gồm các cảnh quay liền mạch, với chuyển động máy quay được lên kế hoạch từ prompt.
- **Chuyển động phức tạp tốt hơn.** ByteDance cho biết mô hình cải thiện về độ chính xác vật lý, tính chân thực và khả năng kiểm soát, đồng thời cho nhiều kết quả dùng được hơn trong các cảnh có tương tác và chuyển động.

ByteDance cũng nêu những điểm vẫn cần cải thiện: độ ổn định của chi tiết, âm thanh đôi khi bị méo, tính nhất quán khi có nhiều chủ thể và độ chính xác của chữ được hiển thị.

Trên Kerox, Seedance 2.0 chạy ở 480p, 720p, 1080p và 4K, tạo video dài từ 4 đến 15 giây, với sáu tỷ lệ khung hình hoặc chế độ tự động. Xem thêm: [Giá theo giây của từng mô hình Seedance là bao nhiêu?](https://kerox.ai/vi/blog/seedance-pricing)

## Cách sử dụng Seedance 2.0

1. **Nạp tiền** Nạp tiền từ $10. Không cần đăng ký gói, và số dư của bạn không hết hạn.
2. **Thiết lập video** Viết prompt, chọn độ phân giải, thời lượng và tỷ lệ khung hình, rồi thêm tệp tham chiếu nếu cần. Giá cho các thiết lập này được hiển thị trước khi bạn bắt đầu.
3. **Tạo và tải xuống** Số tiền được tạm giữ khi bạn bắt đầu và được quyết toán khi video hoàn tất. Nếu tạo thất bại, bạn được hoàn tiền đầy đủ.

## Bạn có thể tạo gì với Seedance 2.0

- **Văn bản thành video có âm thanh.** Chỉ cần một prompt là có clip kèm giọng nói, hiệu ứng âm thanh và nhạc.
- **Ảnh thành video.** Bắt đầu chỉ với khung hình đầu tiên, hoặc đặt cả khung hình đầu và khung hình cuối. Mô hình sẽ tạo phần chuyển động ở giữa.
- **Video bám sát các tệp tham chiếu của bạn.** Đưa vào hình ảnh, đoạn video và đoạn âm thanh, rồi nhắc đến chúng trong prompt theo thứ tự bạn đã thêm.
- **Bản cuối ở 4K.** Thử prompt ở 480p hoặc 720p, rồi chạy phiên bản bạn chọn giữ lại ở 1080p hoặc 4K.
- **Các clip nối tiếp nhau.** Trong API, hãy yêu cầu khung hình cuối của một kết quả và dùng nó làm khung hình đầu tiên cho clip tiếp theo.

## Seedance 2.0 so với các mô hình khác trên Kerox

Tất cả các mô hình này đều dùng chung một số dư và cùng một API. Để chuyển đổi, bạn chỉ cần thay ID mô hình và chỉ dùng các thiết lập mà mô hình bạn chuyển sang hỗ trợ. Giá khởi điểm có trong bảng.

| Mô hình | Khi nào nên chọn | Giá khởi điểm |
| --- | --- | --- |
| [Seedance 2.0](https://kerox.ai/vi/models/bytedance/seedance-2.0) | Clip dài 4 đến 15 giây, độ phân giải từ 480p đến 4K. Chọn mô hình này cho sản phẩm cuối cùng và bất cứ khi nào bạn cần 1080p hoặc 4K. | Từ khoảng $0.0668 / giây (480p) |
| [Seedance 2.0 Fast](https://kerox.ai/vi/models/bytedance/seedance-2.0-fast) | Phiên bản tăng tốc của Seedance 2.0 do ByteDance phát triển, với cùng đầu vào và thời lượng ở 480p hoặc 720p. Chọn mô hình này khi tốc độ quan trọng hơn độ phân giải. | Từ khoảng $0.0337 / giây (480p) |
| [Seedance 2.0 Mini](https://kerox.ai/vi/models/bytedance/seedance-2.0-mini) | Cùng đầu vào và thời lượng ở 480p hoặc 720p. Chọn mô hình này để thử prompt và tạo số lượng lớn; giá khởi điểm có trong bảng này. | Từ khoảng $0.0193 / giây (480p) |
| [Seedance 2.5](https://kerox.ai/vi/models/bytedance/seedance-2.5) | Mô hình Seedance mới hơn: 4 đến 30 giây, độ phân giải tối đa 1080p, cho phép nhiều tệp tham chiếu hơn mỗi yêu cầu. Chọn mô hình này cho clip dài hơn 15 giây. | Từ khoảng $0.0977 / giây (480p) |
| [MiniMax H3](https://kerox.ai/vi/models/minimax/h3) | Mô hình video của MiniMax, 4 đến 15 giây ở 768p hoặc 2K. Chọn mô hình này để thử cùng một prompt trên mô hình của nhà phát triển khác. | 2K: $0.0650, 768p: $0.0400 |
| [Kling 4.0](https://kerox.ai/vi/models/kuaishou/kling-4.0) | Mô hình video của Kuaishou, 3 đến 30 giây ở 720p, 1080p hoặc 4K. Chọn mô hình này khi bạn cần clip 4K dài hơn 15 giây. | 4K: $0.4941, 720p: $0.1413, 1080p: $0.2115 |

## Câu hỏi thường gặp

### Seedance 2.0 có giá bao nhiêu?

Seedance 2.0 trên Kerox có giá từ khoảng $0.0668 / giây, thấp hơn 5% so với giá chính thức. Bạn trả tiền theo từng lượt tạo và không bị tính phí cho các lượt tạo thất bại. Bảng giá trên trang này liệt kê đầy đủ mọi tùy chọn.

### Seedance 2.0 có API không?

Có. Gửi một tác vụ tới API của Kerox với ID mô hình bytedance/seedance-2.0, sau đó kiểm tra định kỳ trạng thái tác vụ hoặc nhận Webhook khi tác vụ hoàn tất. Tài liệu API của Seedance 2.0 liệt kê đầy đủ mọi tham số kèm mã mẫu.

### Tôi có thể dùng Seedance 2.0 trực tuyến mà không cần viết mã không?

Có. Mở Seedance 2.0 trong Kerox Studio, nhập prompt và tạo ngay trên trình duyệt. Studio và API dùng chung một số dư.

### Tôi có cần đăng ký gói để dùng Seedance 2.0 không?

Không. Không có gói đăng ký và không có phí hằng tháng. Nạp tiền từ $10 và chỉ trả cho những gì bạn tạo.

### Tôi có thể dùng Seedance 2.0 miễn phí không?

Không. Kerox hiện chưa có gói miễn phí hay bản dùng thử miễn phí. Bạn có thể nạp tiền với mức tối thiểu $10 và chỉ trả cho những gì bạn tạo.

### Làm thế nào để dùng Seedance 2.0?

Mở mô hình trong Studio, viết prompt, chọn độ phân giải, thời lượng và tỷ lệ khung hình, rồi bắt đầu. Thêm khung hình đầu tiên hoặc tệp tham chiếu khi bạn muốn kiểm soát nhiều hơn. Studio hiển thị giá cho thiết lập của bạn trước khi bắt đầu. Nhà phát triển gửi cùng các thiết lập này đến API của Kerox với ID mô hình `bytedance/seedance-2.0`.

### Seedance 2.0, Fast và Mini khác nhau như thế nào?

Khác nhau ở độ phân giải và giá. Seedance 2.0 hỗ trợ tối đa 4K. Seedance 2.0 Fast và Seedance 2.0 Mini tạo video ở 480p hoặc 720p. Cả ba đều nhận cùng loại đầu vào và cùng thời lượng 4 đến 15 giây. Với yêu cầu ở 480p hoặc 720p, bạn có thể chuyển giữa các mô hình chỉ bằng cách đổi ID mô hình. Yêu cầu ở 1080p hoặc 4K chỉ chạy trên Seedance 2.0: Fast và Mini sẽ từ chối. ByteDance mô tả Fast là phiên bản được tối ưu cho tốc độ. Mỗi mô hình có mức giá riêng; bảng so sánh ở trên hiển thị giá khởi điểm hiện tại của từng mô hình.

### Video Seedance 2.0 có thể dài bao nhiêu?

Từ 4 đến 15 giây trong một lần tạo, hoặc để mô hình tự chọn thời lượng. Nếu muốn tạo một clip dài hơn chỉ trong một lần, Seedance 2.5 có thể tạo video dài tới 30 giây.

### Seedance 2.0 có hỗ trợ 4K không?

Có. Trên Kerox, Seedance 2.0 tạo video ở 480p, 720p, 1080p hoặc 4K. Độ phân giải càng cao thì dùng càng nhiều token, nên chi phí mỗi giây cũng cao hơn. Bảng giá ở trên liệt kê các clip phổ biến ở từng độ phân giải.

### Tôi nên dùng Seedance 2.0 hay Seedance 2.5?

Dùng Seedance 2.0 khi 15 giây là đủ hoặc bạn cần 4K. Dùng Seedance 2.5 cho clip dài tới 30 giây, hoặc khi bạn muốn đưa vào nhiều tệp tham chiếu hơn: tối đa 30 ảnh, 10 đoạn video và 10 đoạn âm thanh, so với 9, 3 và 3. Cả hai đều vẫn có sẵn trên Kerox.


---

## Request example

Submit a task and get its id at once; get the result by polling (below) or by [webhook](https://kerox.ai/vi/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/vi/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.0",
  "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.0",
        "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.0",
    "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.0",
  "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.0",
  "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"
    ]
  }
}'
```

### 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.0",
  "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.0",
  "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.0",
  "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"
    ]
  }
}'
```

### 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.0",
  "input": {
    "prompt": "Show a dinosaur at dusk and time its roar to Audio 1",
    "resolution": "720p",
    "duration": 5,
    "aspect_ratio": "16:9",
    "images": [
      "https://cdn.kerox.ai/assets/samples/seedream-5.5/lighthouse-blue-hour.webp"
    ],
    "audios": [
      "https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3"
    ]
  }
}'
```

## Parameters

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

| Parameter | Type | Required | Default | Values | Description | Example |
| --- | --- | --- | --- | --- | --- | --- |
| `prompt` | string | No | — | 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–9 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–3 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,295,044 pixels, 24–60 fps; 2–15 s each, up to 15 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–3 items; Model file limits: audio/wav or audio/mpeg (MP3), up to 15 MB each; 2–15 s each, up to 15 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, 4k | Output resolution tier. The exact pixels follow from it and `aspect_ratio`. | `"720p"` |
| `duration` | integer | No | `5` | -1 (automatic duration); 4–15 | 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` |
| `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
- last_frame requires first_frame
- When audios: supply images or videos
- 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/vi/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/vi/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/vi/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.0",
  "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": "0.7182",
    "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.0668 / 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.0668 | $0.0410 | $7.0000 | $6.6500 | $4.3000 | $4.0850 |
| 720p | $0.1436 | $0.0882 | $7.0000 | $6.6500 | $4.3000 | $4.0850 |
| 1080p | $0.3555 | $0.2170 | $7.7000 | $7.3150 | $4.7000 | $4.4650 |
| 4k | $0.7387 | $0.4432 | $4.0000 | $3.8000 | $2.4000 | $2.2800 |

- **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.0",
  "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.0",
  "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.3515 | $0.3340 | 5% |
| 10 s · 480p | $0.7031 | $0.6679 | 5% |
| 15 s · 480p | $1.0546 | $1.0019 | 5% |
| 5 s · 720p | $0.7560 | $0.7182 | 5% |
| 10 s · 720p | $1.5120 | $1.4364 | 5% |
| 15 s · 720p | $2.2680 | $2.1546 | 5% |
| 5 s · 1080p | $1.8711 | $1.7775 | 5% |
| 10 s · 1080p | $3.7422 | $3.5551 | 5% |
| 15 s · 1080p | $5.6133 | $5.3326 | 5% |
| 5 s · 4k | $3.8880 | $3.6936 | 5% |
| 10 s · 4k | $7.7760 | $7.3872 | 5% |
| 15 s · 4k | $11.6640 | $11.0808 | 5% |

- **$10 gets you**: About 149 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,
      "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": 9,
          "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": 3,
          "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": 3,
          "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",
        "4k"
      ],
      "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": 15,
          "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"
    },
    "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"
      ]
    }
  ],
  "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": {
        "properties": {
          "audios": true
        },
        "required": [
          "audios"
        ]
      },
      "then": {
        "anyOf": [
          {
            "properties": {
              "images": true
            },
            "required": [
              "images"
            ]
          },
          {
            "properties": {
              "videos": true
            },
            "required": [
              "videos"
            ]
          }
        ]
      }
    }
  ]
}
```

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

```json
{
  "type": "object",
  "$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",
                "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": false,
        "max_reference_audios": 3,
        "max_reference_images": 9,
        "max_reference_videos": 3,
        "first_last_frame_exclusive_with_references": true
      }
    },
    "duration": {
      "type": "integer",
      "anyOf": [
        {
          "const": -1
        },
        {
          "maximum": 15,
          "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",
        "4k"
      ],
      "type": "string",
      "x-tier": "common",
      "default": "720p",
      "x-label-en": "Resolution",
      "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": "返回尾帧"
    }
  },
  "additionalProperties": false
}
```
