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

# MiniMax H3 Video: Routes & Request Parameters

> MiniMax H3 multimodal video generation across Channels Y, M, HQ, and GW

> [!NOTE]
>
> **Key points for AI agents**
>
> * Endpoint: `POST https://1788.love/v1/videos` with `Authorization: Bearer YOUR_1788_API_KEY`. See [Async tasks](https://docs.1788.love/en/guides/async-tasks.md).
> * Supports text-to-video, first/last frames, and multimodal references (`image_with_roles`, `video_with_roles`, `audio_with_roles`), matching [Seedance](https://docs.1788.love/en/video/seedance/request.md).
> * Resolution: Channels Y and M accept `resolution` (`768P`, `1080P`, `2K`). **Channel HQ** is fixed `768p` with duration encoded in the model name (`-10s` / `-15s`). **Channel GW** is fixed `768p` (`MiniMax-H3-GW`, billed per output second).
> * Do not mix `first_frame`/`last_frame` with reference media (HQ does not support `last_frame`).
> * See the [Price List](https://1788.love/pricing) for live rates.

## Routes

| Model ID | Channel | Billing | Resolution | Duration (s) | Aspect ratios | Limits (img / vid / aud) | First / Last frame |
| - | - | - | - | - | - | - | - |
| `MiniMax-H3-Y` | Y | Per sec | `768P` `1080P` `2K` | 4–15 | `16:9` `9:16` `1:1` `4:3` `3:4` `21:9` | 5 / 3 / 3 | ✓ / ✓ |
| `MiniMax-H3-M` | M | Per sec | `768P` `1080P` `2K` | 4–15 | Same + `adaptive` | 5 / 3 / 3 | ✓ / ✓ |
| `Minimax-H3-768p-933-10s` | HQ | Per req | Fixed `768p` | Fixed 10 | Same as Y | 9 / 3 / 3 | First ✓ (as ref) / Last ✗ |
| `Minimax-H3-768p-933-15s` | HQ | Per req | Fixed `768p` | Fixed 15 | Same as Y | 9 / 3 / 3 | Same as above |
| `MiniMax-H3-GW` | GW (per sec) | Per sec | Fixed `768p` | 4–30 | `16:9` `9:16` `1:1` | 9 / 3 / 3 (total A/V ≤15s) | ✓ / ✓ |

Billing notes:

* **Channel Y**: Billed on output seconds only (reference videos not billed extra).
* **Channel M**: Reference video seconds are billed together with output seconds (`ref + output`); `reference_video_duration` (1–15) is required when passing reference videos.
* **Channel HQ**: Fixed price per task (`10s` and `15s` are separate model IDs).
* **Channel GW**: `MiniMax-H3-GW` bills output seconds only at fixed `768p`.

## Example (Multimodal reference on Channel Y)

```bash theme={null}
curl https://1788.love/v1/videos \
  -H "Authorization: Bearer YOUR_1788_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MiniMax-H3-Y",
    "prompt": "The model from image 1 wearing the outfit from image 2 walks the runway to the rhythm of video 1 with audio 1 as background music",
    "duration": 8,
    "resolution": "1080P",
    "aspect_ratio": "9:16",
    "image_with_roles": [
      { "url": "https://ruyi6.cn/r/EXAMPLE_A.png", "role": "reference_image" },
      { "url": "https://ruyi6.cn/r/EXAMPLE_B.png", "role": "reference_image" }
    ],
    "video_with_roles": [
      { "url": "https://ruyi6.cn/r/EXAMPLE_C.mp4", "role": "reference_video" }
    ],
    "audio_with_roles": [
      { "url": "https://ruyi6.cn/r/EXAMPLE_D.mp3", "role": "reference_audio" }
    ]
  }'
```


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