# MiniMax H3

> MiniMax H3 是 MiniMax 推出的影片模型，可生成最長 15 秒、附原生立體聲的片段，解析度為 768p 或 2K。可從提示詞、首尾影格，或參考圖片、影片與音訊生成。在 Studio 開啟後，即可選擇解析度與影片長度，並在生成前查看價格。

MiniMax H3 是 MiniMax 推出的 AI 影片生成模型。可透過 Kerox API 以模型 ID minimax/h3 呼叫，或在 Studio 中直接生成，無需撰寫程式碼。在 Kerox 上的價格為 $0.0400 / 秒，比官方價格低 50% 起，無需訂閱。

## 定價

| 模型 | ID | 計費方式 | Kerox 費率 | 折扣 |
| --- | --- | --- | --- | --- |
| MiniMax H3 | `minimax/h3` | 每秒 | 2K: $0.0650, 768p: $0.0400 | 比官方價格低 50% |

- [MiniMax H3 價格](https://kerox.ai/zh-hant/pricing#pricing-minimax/h3)
- [MiniMax H3 API 文件](https://kerox.ai/zh-hant/docs/models/minimax/h3)
- [MiniMax H3](https://kerox.ai/zh-hant/models/minimax/h3)

## 關於 MiniMax H3

MiniMax H3 是 MiniMax 於 2026 年 7 月 31 日推出的影片生成模型。MiniMax 稱它為通用多模態生成模型，能綜合理解文字、圖片、影片與音訊，並生成附原生立體聲的影片。在這之前，該公司推出過 Hailuo 01 與 Hailuo 02 模型。

### MiniMax 介紹的 H3 特色

- **一個模型處理所有任務。** 文字轉影片、圖片轉影片、依參考素材生成與編輯，全都能在 H3 上完成。過去則需由不同模型分別處理這些任務。
- **聲音與畫面一同生成。** 人聲、音效與音樂一起建模，並以立體聲輸出。
- **2K 輸出。** H3 會先產生較低解析度的結果，再以此為基礎重新生成，進而達到 2K。MiniMax 表示，這能還原細小文字與畫面細節。
- **彈性運用參考素材。** 參考檔案可以代表角色、動作、運鏡、風格、聲音或剪輯節奏。
- **精準遵循提示詞。** MiniMax 列出的優勢包括：準確依照指示生成、呈現文字與品牌元素，以及將參考影片中的動作套用到生成結果。

MiniMax 也指出 H3 仍有進步空間：多模態理解、受目前模型規模限制的能力，以及特定場景中的畫面細節。

在 Kerox 上，MiniMax H3 支援 768p 與 2K，長度為 4 到 15 秒，提供六種長寬比或自動設定。 想進一步了解這個模型與 H3 Max，請閱讀文章：[MiniMax H3 是什麼？](https://kerox.ai/zh-hant/blog/what-is-minimax-h3)

## 如何使用 MiniMax H3

1. **儲值** 最低儲值 $5。不需訂閱，餘額不會過期。
2. **設定影片** 輸入提示詞，選擇解析度、長度與長寬比，需要時再加入首影格或參考檔案。開始前會顯示依目前設定計算的費用。
3. **生成並下載** 開始生成時會先暫時圈存款項，影片完成後再結算。若生成失敗，將全額退款。

## 用 MiniMax H3 能創作哪些內容

- **文字生成有聲影片。** 只要一段提示詞，就能產生含人聲、音效與配樂的短片。
- **圖片轉影片。** 提供第一個影格作為起點，模型就會讓畫面動起來。
- **首尾影格。** 設定短片的第一個與最後一個影格，模型會補上兩者之間的動作。
- **依照參考素材生成影片。** 最多可加入 9 張圖片、3 段影片和 3 段音訊，並在提示詞中說明每個素材的用途：角色、運鏡或人聲。
- **修改現有短片。** 將影片作為參考素材傳入，並描述要改變的地方。

## MiniMax H3 與 Kerox 平台上的其他模型比較

以下模型都使用同一個餘額與同一套 API。若要切換，只需更改模型 ID，並使用切換後的模型所支援的設定。起始價格請見表格。

| 模型 | 適用時機 | 起始價格 |
| --- | --- | --- |
| [MiniMax H3](https://kerox.ai/zh-hant/models/minimax/h3) | 4 到 15 秒的有聲短片，解析度為 768p 或 2K。適合製作最終成品；需要 2K 時也請選擇它。 | 2K: $0.0650, 768p: $0.0400 |
| [MiniMax H3 Max](https://kerox.ai/zh-hant/models/minimax/h3-max) | 以 H3 為基礎的快速模型，5 到 15 秒，解析度為 480p 或 768p。適合在 768p 已足夠時快速產出草稿。 | 480p: $0.0450, 768p: $0.0720 |
| [Seedance 2.5](https://kerox.ai/zh-hant/models/bytedance/seedance-2.5) | ByteDance 的影片模型，4 到 30 秒，解析度最高 1080p。適合單一片段需要超過 15 秒的情況。 | 每秒約 $0.0977 起（480p） |
| [Seedance 2.0](https://kerox.ai/zh-hant/models/bytedance/seedance-2.0) | ByteDance 的影片模型，4 到 15 秒，可輸出 4K。適合需要 4K 的情況。 | 每秒約 $0.0668 起（480p） |
| [Kling 4.0](https://kerox.ai/zh-hant/models/kuaishou/kling-4.0) | Kuaishou 的影片模型，3 到 30 秒，解析度為 720p、1080p 或 4K。適合製作 4K 的長片段。 | 4K: $0.4941, 720p: $0.1413, 1080p: $0.2115 |
| [Wan 3.0](https://kerox.ai/zh-hant/models/alibaba/wan-3.0) | Alibaba 的影片模型，2 到 30 秒，解析度最高 1080p。適合製作非常短的片段。 | 480p: $0.0400, 720p: $0.0800, 1080p: $0.1600 |

## 常見問題

### MiniMax H3 的價格是多少？

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

### MiniMax H3 有提供 API 嗎？

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

### 不寫程式碼也能在線上使用 MiniMax H3 嗎？

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

### 使用 MiniMax H3 需要訂閱嗎？

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

### 如何使用 MiniMax H3？

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

### MiniMax H3 可以用來做什麼？

用文字、圖片或參考素材生成有聲短片。MiniMax 將它定位為單一模型，可用於影片生成、依據參考素材進行創作，以及影片編輯。常見用途包括從靜態圖片製作產品短片、讓同一角色在場景中保持一致，或依照參考影片的動作或運鏡生成影片。

### 可以免費使用 MiniMax H3 嗎？

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

### MiniMax H3 是開源模型嗎？

部分開源。MiniMax 已依 MiniMax H3 Community License 公開 H3 Base 的權重，可生成 768p 的有聲影片。完整系統中有兩個部分未公開：準備提示詞與參考素材的步驟，以及輸出 2K 影片的步驟。在 Kerox 上，H3 是託管模型：你可以在 Studio 或透過 API 生成，不需要下載或部署任何東西。

### MiniMax H3 和 H3 Max 有什麼不同？

差別在於解析度和速度。H3 以 768p 或 2K 生成，片長為 4 到 15 秒。H3 Max 是以 H3 為基礎打造的快速模型：以 480p 或 768p 生成，片長為 5 到 15 秒，不支援 2K。兩者接受相同類型的輸入，因此提示詞和參考素材可以在兩者之間沿用，但解析度和片長必須是另一個模型支援的設定。兩者各有不同的價格，請見上方的比較表。

### MiniMax H3 可以把圖片轉成影片嗎？

可以。上傳首影格並描述動作，或設定首影格和尾影格，讓模型補上兩者之間的內容。同一個請求中，首影格不能與參考圖片、影片或音訊同時使用。

### MiniMax H3 會生成聲音嗎？

會。預設會與影片一起生成聲音。若要產生無聲片段，請在 Studio 中關閉「生成音訊」，或在 API 中將 `generate_audio` 設為 false。


---

## 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": "minimax/h3",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "768p",
    "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": "minimax/h3",
        "input": {
            "prompt": "a red fox running through fresh snow, cinematic lighting",
            "resolution": "768p",
            "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": "minimax/h3",
    "input": {
      "prompt": "a red fox running through fresh snow, cinematic lighting",
      "resolution": "768p",
      "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": "minimax/h3",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "768p",
    "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": "minimax/h3",
  "input": {
    "prompt": "Image 1: the lighthouse beam sweeps slowly across the water",
    "resolution": "768p",
    "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": "minimax/h3",
  "input": {
    "prompt": "A lighthouse beam sweeps slowly across the waves",
    "resolution": "768p",
    "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": "minimax/h3",
  "input": {
    "prompt": "Slowly dissolve from the coast to the cabin by the lake",
    "resolution": "768p",
    "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": "minimax/h3",
  "input": {
    "prompt": "Use the camera motion of Video 1 for a flyover of a rocky coastline",
    "resolution": "768p",
    "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": "minimax/h3",
  "input": {
    "prompt": "Show a dinosaur at dusk and time its roar to Audio 1",
    "resolution": "768p",
    "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/zh-hant/docs/models.md) mean the same on every model.

| Parameter | Type | Required | Default | Values | Description | Example |
| --- | --- | --- | --- | --- | --- | --- |
| `prompt` | string | Yes | — | at least one non-whitespace character; 1–7000 characters | Text describing what to generate. | `"A lighthouse at dawn"` |
| `images` | string \| string[] | No | — | one public HTTPS URL; one string or an array of 1–9 items; Model file limits: JPG, JPEG, PNG, WebP, HEIC or HEIF, up to 30 MB each, 256–5760 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: MP4 or MOV (H.264/H.265), up to 50 MB each, 256–5760 px per side, aspect ratio 0.4–2.5, 23.976–60 fps, 2–15 s per clip and at most 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; one string or an array of 1–3 items; Model file limits: WAV or MP3, up to 15 MB each, 2–15 s per clip and at most 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; Model file limits: JPG, JPEG, PNG, WebP, HEIC or HEIF, up to 30 MB each, 256–5760 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; Model file limits: JPG, JPEG, PNG, WebP, HEIC or HEIF, up to 30 MB each, 256–5760 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 | `"768p"` | 768p, 2K | Output resolution tier. The exact pixels follow from it and `aspect_ratio`. | `"768p"` |
| `duration` | integer | No | `5` | 4–15 | Length of the output in whole seconds. | `5` |
| `generate_audio` | boolean | No | `true` | true, false | Whether the video comes with generated sound (voice, effects, music). | `true` |
| `n` | integer | No | `1` | 1 | How many outputs one task may produce. | `1` |

- last_frame requires first_frame
- When first_frame: omit images or videos or audios
- When audios: supply images or videos

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

Not supported yet: `watermark`.

## 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": "minimax/h3",
  "status": "succeeded",
  "source": "api",
  "format": "unified",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "768p",
    "duration": 5,
    "aspect_ratio": "16:9"
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://cdn.kerox.ai/t/task_01JD8X9B4Q2M7T8N3K5P6R1S0V/5f2b8c1e9d3a4f6b8a7c0d1e2f3a4b5c/0.mp4",
      "content_type": "video/mp4",
      "duration": 5
    }
  ],
  "outputs_deleted": false,
  "error": null,
  "cost": {
    "amount": "0.2000",
    "currency": "USD",
    "status": "settled"
  },
  "metadata": null,
  "warnings": [],
  "created_at": "2026-11-20T08:00:00Z",
  "started_at": "2026-11-20T08:00:01Z",
  "completed_at": "2026-11-20T08:01:10Z",
  "expires_at": "2026-11-27T08:01:10Z"
}
```

## Pricing

| Tier | Official / second | Kerox / second | Below official price |
| --- | --- | --- | --- |
| 2K | $0.1300 | $0.0650 | 50% |
| 768p | $0.0800 | $0.0400 | 50% |

- **Reference images**: the first 5 are free; each one after that adds $0.0200 (official $0.0400).
- **Reference videos**: their length is billed at the same per-second rate as the output: billed seconds = reference video seconds + output seconds.

### 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": "minimax/h3",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "768p",
    "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": "minimax/h3",
  "input": {
    "prompt": "a red fox running through fresh snow, cinematic lighting",
    "resolution": "768p",
    "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 · 2K | $0.6500 | $0.3250 | 50% |
| 10 s · 2K | $1.3000 | $0.6500 | 50% |
| 15 s · 2K | $1.9500 | $0.9750 | 50% |
| 5 s · 768p | $0.4000 | $0.2000 | 50% |
| 10 s · 768p | $0.8000 | $0.4000 | 50% |
| 15 s · 768p | $1.2000 | $0.6000 | 50% |

- **$10 gets you**: 250 seconds of 768p video

## Input schema (JSON)

### Parameters (`unified.input_schema`)

```json
{
  "type": "object",
  "allOf": [
    {
      "if": {
        "required": [
          "first_frame"
        ],
        "properties": {
          "first_frame": true
        }
      },
      "then": {
        "not": {
          "anyOf": [
            {
              "required": [
                "images"
              ],
              "properties": {
                "images": true
              }
            },
            {
              "required": [
                "videos"
              ],
              "properties": {
                "videos": true
              }
            },
            {
              "required": [
                "audios"
              ],
              "properties": {
                "audios": true
              }
            }
          ]
        }
      }
    },
    {
      "if": {
        "required": [
          "audios"
        ],
        "properties": {
          "audios": true
        }
      },
      "then": {
        "anyOf": [
          {
            "required": [
              "images"
            ],
            "properties": {
              "images": true
            }
          },
          {
            "required": [
              "videos"
            ],
            "properties": {
              "videos": true
            }
          }
        ]
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "prompt"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "pattern": "\\S",
      "maxLength": 7000,
      "minLength": 1,
      "description": "Text describing what to generate.",
      "x-label-en": "Prompt",
      "x-label-zh": "提示词",
      "x-tier": "common"
    },
    "images": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^https://"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^https://"
          },
          "maxItems": 9,
          "minItems": 1
        }
      ],
      "description": "Images for the model to draw on, in the order the prompt refers to them.",
      "x-label-en": "Reference images",
      "x-label-zh": "参考图",
      "x-tier": "common"
    },
    "videos": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^https://"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^https://"
          },
          "maxItems": 3,
          "minItems": 1
        }
      ],
      "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": "advanced"
    },
    "audios": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "^https://"
        },
        {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^https://"
          },
          "maxItems": 3,
          "minItems": 1
        }
      ],
      "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": "advanced"
    },
    "first_frame": {
      "type": "string",
      "pattern": "^https://",
      "description": "The image a video starts from.",
      "x-label-en": "First frame",
      "x-label-zh": "首帧",
      "x-tier": "common"
    },
    "last_frame": {
      "type": "string",
      "pattern": "^https://",
      "description": "The image a video ends on. Needs `first_frame`.",
      "x-label-en": "Last frame",
      "x-label-zh": "尾帧",
      "x-tier": "advanced"
    },
    "aspect_ratio": {
      "enum": [
        "auto",
        "21:9",
        "16:9",
        "4:3",
        "1:1",
        "3:4",
        "9:16"
      ],
      "type": "string",
      "default": "auto",
      "description": "Width to height of the output.",
      "x-label-en": "Aspect ratio",
      "x-label-zh": "画面比例",
      "x-tier": "common"
    },
    "resolution": {
      "enum": [
        "768p",
        "2K"
      ],
      "type": "string",
      "default": "768p",
      "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",
      "default": 5,
      "maximum": 15,
      "minimum": 4,
      "description": "Length of the output in whole seconds.",
      "x-label-en": "Duration",
      "x-label-zh": "时长",
      "x-tier": "common"
    },
    "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"
    },
    "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"
    }
  },
  "x-unsupported": [
    "watermark"
  ],
  "dependentRequired": {
    "last_frame": [
      "first_frame"
    ]
  },
  "additionalProperties": false
}
```
