# Seedance 2.5

> Seedance 2.5는 ByteDance의 영상 모델로, 사운드가 포함된 최대 30초 길이의 클립을 생성합니다. 프롬프트를 작성하거나 참조 이미지, 영상, 오디오를 추가하면 영상에 맞춰 생성된 오디오가 포함된 멀티샷 영상을 받을 수 있습니다. Studio에서 이 모델을 열면 해상도와 길이를 선택하고, 생성하기 전에 가격을 확인할 수 있습니다.

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

## 요금

| 모델 | ID | 결제 방식 | Kerox 요금 | 할인 |
| --- | --- | --- | --- | --- |
| Seedance 2.5 | `bytedance/seedance-2.5` | 토큰 기준 과금 | 약 $0.0977 / 초부터 (480p) | 공식 가격보다 5% 저렴 |

토큰 과금 모델의 초당 가격은 참조 영상 없이 16:9 기준으로 산정한 추정치이며, 참조 영상이 있으면 요금이 더 낮아집니다. 청구는 토큰 기준으로 이루어집니다.

- [Seedance 2.5 가격](https://kerox.ai/ko/pricing#pricing-bytedance/seedance-2.5)
- [Seedance 2.5 API 문서](https://kerox.ai/ko/docs/models/bytedance/seedance-2.5)
- [Seedance 2.5](https://kerox.ai/ko/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초 길이로 실행되며, 6가지 화면비 또는 자동 설정을 지원합니다. 출시 배경이 궁금하다면 다음 글을 읽어 보십시오: [Seedance 2.5란 무엇입니까?](https://kerox.ai/ko/blog/what-is-seedance-2-5)

## Seedance 2.5 사용 방법

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

## Seedance 2.5 활용 예시

- **사운드가 포함된 텍스트 기반 영상 생성.** 프롬프트만으로 음성, 효과음, 음악이 담긴 클립을 만들 수 있습니다.
- **이미지 영상 변환.** 첫 프레임에서 시작하거나 첫 프레임과 마지막 프레임을 지정하면 모델이 그 사이의 움직임을 채워 줍니다.
- **단편 영화와 광고.** 샷을 순서대로 설명하면 샷 사이를 전환하는 최대 30초 길이의 클립 하나를 받을 수 있습니다.
- **레퍼런스를 따르는 영상.** 이미지, 비디오 클립, 오디오 클립을 전달한 뒤 추가한 순서대로 프롬프트에서 참조하면 됩니다.
- **영상을 편집하거나 연장합니다.** 프롬프트로 기존 클립의 일부를 변경하거나, 마지막 프레임 이후로 클립을 이어서 생성합니다.

## Seedance 2.5 vs Kerox의 다른 모델

이 모델들은 모두 같은 잔액과 같은 API로 실행됩니다. 모델을 바꾸려면 모델 ID만 변경하면 됩니다. 시작 가격은 표에 나와 있습니다.

| 모델 | 선택하면 좋은 경우 | 시작 가격 |
| --- | --- | --- |
| [Seedance 2.5](https://kerox.ai/ko/models/bytedance/seedance-2.5) | 15초보다 긴 클립, 많은 레퍼런스 또는 한 영상 안의 여러 샷을 최대 1080p로 만들 때 선택합니다. | 약 $0.0977 / 초부터 (480p) |
| [Seedance 2.5 Flash](https://kerox.ai/ko/models/bytedance/seedance-2.5-flash) | 30초 길이와 레퍼런스 종류는 같으며, 해상도는 480p 또는 720p입니다. 초안 작업과 대량 생성에 적합합니다. | 약 $0.0639 / 초부터 (480p) |
| [Seedance 2.0](https://kerox.ai/ko/models/bytedance/seedance-2.0) | 최대 15초 길이의 영상을 생성할 수 있으며 4K 출력도 가능합니다. 15초로 충분하거나 4K가 필요할 때 이 모델을 선택합니다. | 약 $0.0668 / 초부터 (480p) |
| [Magi-2](https://kerox.ai/ko/models/sand-ai/magi-2) | Sand AI의 영상 모델로, 1080p에서 사운드와 함께 최대 30초까지 생성합니다. 대사나 사운드가 있는 긴 1080p 영상이 필요할 때 선택합니다. | 1080p: $0.1000 |
| [Seedance 2.0 Mini](https://kerox.ai/ko/models/bytedance/seedance-2.0-mini) | 더 가벼운 Seedance 2.0 모델로, 480p 또는 720p에서 최대 15초까지 생성합니다. 최종 생성 전에 프롬프트를 테스트할 때 선택합니다. | 약 $0.0193 / 초부터 (480p) |
| [MiniMax H3](https://kerox.ai/ko/models/minimax/h3) | MiniMax의 영상 모델로, 768p 또는 2K에서 4~15초 길이를 생성합니다. 2K 출력이 필요할 때 선택합니다. | 2K: $0.0650, 768p: $0.0400 |
| [Wan 3.0](https://kerox.ai/ko/models/alibaba/wan-3.0) | Alibaba의 영상 모델로, 최대 1080p에서 2~30초 길이를 생성합니다. 아주 짧은 영상이 필요하거나, 같은 프롬프트를 또 다른 30초 모델로 테스트할 때 선택합니다. | 480p: $0.0400, 720p: $0.0800, 1080p: $0.1600 |
| [Seedream 5.5](https://kerox.ai/ko/models/bytedance/seedream-5.5) | ByteDance의 이미지 모델입니다. 첫 프레임이나 레퍼런스 이미지를 만들 때 선택합니다. | 1K/1.5K: $0.0160, 2K: $0.0280 |
| [GPT Image 2.6 Flare Economy](https://kerox.ai/ko/models/openai/gpt-image-2.6-flare-economy) | OpenAI의 이미지 모델입니다. 4K 첫 프레임이 필요할 때 선택합니다. | 1K: $0.0150, 2K: $0.0450, 4K: $0.0600 |

## FAQ

### 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에서 생성하거나, 모델 ID `bytedance/seedance-2.5`로 API를 통해 호출할 수 있습니다.

### Seedance 2.5를 무료로 사용할 수 있습니까?

현재 Kerox에서는 무료 요금제나 무료 체험을 제공하지 않습니다. $5부터 충전할 수 있으며, 생성한 만큼만 비용을 지불합니다.

### Seedance 2.5는 비용이 많이 듭니까?

해상도와 길이에 따라 다릅니다. 이 모델은 토큰 단위로 과금되며, 더 길거나 더 선명한 영상일수록 더 많은 토큰을 사용합니다. 참조 영상을 사용하면 토큰당 요금은 낮아지지만, 참조 영상의 길이도 함께 계산됩니다. 위의 가격표에는 자주 쓰이는 영상 예시가 공식 가격과 나란히 정리되어 있으며, 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초로 두 배 늘렸으며, 더 많은 참조 자료를 지원합니다. 이미지는 9개에서 최대 30개로, 영상 클립은 3개에서 최대 10개로, 오디오 클립은 3개에서 최대 10개로 늘었습니다. 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/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/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/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 | 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/ko/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/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/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
}
```
