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

# MiniMax H3

官方文档参考：[MiniMax-视频生成API参考](https://platform.minimax.cn/docs/api-reference/video-generation-v2-create)

参数及使用方式已对齐官方，详细参数可直接参考官方文档。

## 一、支持模型

| 模型 | 支持分辨率 |
| - | - |
| `MiniMax-H3` | 768P、2K |
| `MiniMax-H3-Max` | 480P、768P |
| `MiniMax-H3-Highspeed` | 480P、768P |
| `MiniMax-H3-Lite` | 480P、768P |

## 二、视频生成 API

### 创建任务：

```
POST https://{api_domain}/v3/minimax/v2/video_generation
```

```bash theme={null}
curl -X POST 'https://{api_domain}/v3/minimax/v2/video_generation' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "MiniMax-H3",
    "content": [
      {
        "type": "text",
        "text": "A cinematic product video in a clean studio"
      }
    ],
    "resolution": "768P",
    "duration": 4,
    "ratio": "16:9"
  }'
```

### 创建视频重生成任务：

```
POST https://{api_domain}/v3/minimax/v2/video_regeneration
```

```bash theme={null}
curl -X POST 'https://{api_domain}/v3/minimax/v2/video_regeneration' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "MiniMax-H3",
    "source_task_id": "424010985738629",
    "resolution": "2K"
  }'
```

### 创建 Context IR 任务：

```
POST https://{api_domain}/v3/minimax/v2/h3_context_ir
```

```bash theme={null}
curl -X POST 'https://{api_domain}/v3/minimax/v2/h3_context_ir' \
  -H 'Authorization: Bearer <YOUR_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "MiniMax-H3",
    "content": [
      {
        "type": "text",
        "text": "A cinematic product video in a clean studio"
      },
      {
        "type": "image_url",
        "image_url": { "url": "https://your-cdn.example.com/product.png" },
        "role": "reference_image"
      }
    ],
    "duration": 6
  }'
```

### 查询任务：

```
GET https://{api_domain}/v3/minimax/v2/query/video_generation/{task_id}
```

```bash theme={null}
curl -X GET 'https://{api_domain}/v3/minimax/v2/query/video_generation/427916141998479' \
  -H 'Authorization: Bearer <YOUR_API_KEY>'
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.