Generates 4–15-second video at 768p or 2K from text, first or first-and-last frames, or image, video, and audio references. Audio needs an image or video reference. First-and-last frames and multimodal references are mutually exclusive.
minimax-video-h3Generate video from text, a first-frame or first-and-last-frame image pair, or image, video, or audio references. Duration: 4~15 seconds. Resolution: 768P or 2K. Reference audio needs an image or video, and first-and-last-frame mode cannot be combined with multimodal reference mode.
Required parameters: model, content, duration, resolution
Available parameters: model, content, prompt, duration, resolution, ratio, aspect_ratio, aigc_watermark, first_frame_url, last_frame_url, reference_images, reference_videos, reference_audios, input_video_duration, wait, nonce, idempotency_key
Required parameters: model, content, duration, resolution
Available parameters: model, content, prompt, duration, resolution, ratio, aspect_ratio, aigc_watermark, first_frame_url, last_frame_url, reference_images, reference_videos, reference_audios, input_video_duration, wait, nonce, idempotency_key
| Parameter | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Target video model Options: minimax-video-h3 |
content | array | No | Recommended native syntax; at least one non-empty text field must be provided, and if present, it takes precedence over flat fields |
prompt | string | No | Only assemble text content when no non-empty content is provided |
duration | integer | No | Output in integer seconds; H3 is 4~15, Max is 5~15 |
resolution | string | Yes | Must explicitly select supported resolutions; public historical defaults to 720p and are not recommended for this model Options: 768P / 2K |
ratio | string | No | Text-to-video explicitly specified; image-to-video and reference can be omitted Options: 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 / adaptive |
aspect_ratio | string | No | Frame aspect ratio compatibility field; ratio takes precedence, do not mix conflicting values |
aigc_watermark | boolean | No | Watermark toggle for this model |
first_frame_url | string | No | Retrieve the first frame image URL when no content is provided |
last_frame_url | string | No | Retrieve the last frame image URL when no content is provided |
reference_images | array | No | Retrieve the corresponding reference URL when no content is provided, each element is a string |
reference_videos | array | No | Retrieve the corresponding reference URL when no content is provided, each element is a string |
reference_audios | array | No | Retrieve the corresponding reference URL when no content is provided, each element is a string |
input_video_duration | number | No | Total real-time duration of all reference videos, not the output duration |
wait | boolean | No | Briefly wait for results, not streamed output |
nonce | string | No | Generate a new nonce upon new generation; in case of exception, reuse the original value |
idempotency_key | string | No | Compatibility field, not used as basis for current video deduplication |
curl --request POST 'https://api.router.ai/v1/videos/generations' \
--header "Authorization: Bearer ${OPENCROW_API_KEY}" \
--header 'Content-Type: application/json' \
--data-binary '{"model":"minimax-video-h3","content":[{"type":"text","text":"A blue paper boat floats on calm water."}],"duration":4,"resolution":"768P","ratio":"16:9","aigc_watermark":false,"wait":false,"nonce":"EXAMPLE_H3_TEXT_001"}'