> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibetoken.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# MiniMax-H3 —— 图生视频

> 使用 MiniMax 旗舰多模态视频模型 MiniMax-H3，将一张静态首帧图像动画化为 2K 视频。

|           |                            |
| --------- | -------------------------- |
| **模型 ID** | `minimax/minimax-h3-i2v`   |
| **系列**    | `minimax-h3`               |
| **任务**    | `image-to-video`           |
| **模态**    | 视频                         |
| **上游**    | MiniMax-H3（MiniMax 官方 API） |

<Note>
  MiniMax-H3 图生视频以你的图像作为首帧，并以 2K、音画同步的方式将其动画化。
  画面比例由输入图像决定。片段按输出秒数计价。
</Note>

## 端点

```http theme={null}
POST https://vibetoken.cn/v1/videos/generations
```

异步 —— 返回 `{id, status: "pending"}`；轮询
`GET /v1/videos/generations/{id}`，直到状态为 `success` 或 `failed`。

## 参数

<ParamField body="prompt" type="string" required>
  描述首帧应如何被动画化的文本提示词。最多 7000 个字符。
</ParamField>

<ParamField body="image_urls" type="string[]" required>
  仅含一个元素的数组，元素为待动画化的首帧图像 URL。
</ParamField>

<ParamField body="duration" type="&#x22;6&#x22; | &#x22;10&#x22;" default="&#x22;6&#x22;">
  生成片段的时长（秒）。决定价格（按输出秒数计价）。
</ParamField>

<ParamField body="resolution" type="&#x22;2K&#x22;" default="&#x22;2K&#x22;">
  输出分辨率。
</ParamField>

<ParamField body="aspect_ratio" type="&#x22;adaptive&#x22; | &#x22;16:9&#x22; | &#x22;4:3&#x22; | &#x22;1:1&#x22; | &#x22;3:4&#x22; | &#x22;9:16&#x22; | &#x22;21:9&#x22;" default="&#x22;adaptive&#x22;">
  生成视频的画面比例。默认 `adaptive`（由输入图像推导）；可传入具体比例覆盖。
</ParamField>

## 示例

```bash theme={null}
curl https://vibetoken.cn/v1/videos/generations \
  -H "Authorization: Bearer $VIBETOKEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax/minimax-h3-i2v",
    "prompt": "the camera slowly pushes in as the waves roll",
    "image_urls": ["https://example.com/first-frame.png"],
    "duration": "6",
    "resolution": "2K"
  }'
```

```json theme={null}
{ "id": "task_abc123…", "status": "pending", "model": "minimax/minimax-h3-i2v" }
```

轮询直到终态：

```bash theme={null}
curl https://vibetoken.cn/v1/videos/generations/task_abc123… \
  -H "Authorization: Bearer $VIBETOKEN_API_KEY"
```

```json theme={null}
{
  "id": "task_abc123…",
  "status": "success",
  "data": [{ "url": "https://…mp4" }]
}
```
