MiniMax H3 Videos API
POSThttps://api.acedata.cloud/minimax/videos

Agent integrations

Request Headers

authorizationstring
Bearer token

Request Body

modelstringRequired parameter
Model name, currently only supports the official value `MiniMax-H3`.
contentarrayRequired parameter
Official MiniMax H3 V2 multimodal input array. Each request must include a non-empty `text`; supports images at the beginning and end or multimodal reference materials, but the two types of scenes cannot be mixed.
resolutionstringRequired parameter
Video resolution, required, optional `768P` or `2K`.
durationintegerRequired parameter
Video duration, required, integer between 4 and 15 seconds.
ratiostring
Video aspect ratio. Text-to-video is required and cannot be `adaptive`; image-to-video defaults to `adaptive`; multimodal reference is optional.
Please select
asyncboolean
Set to true to immediately return the task ID without the need for a callback_url, and you can poll through the Tasks API.
Please select
callback_urlstring
Optional task status callback URL. When provided, asynchronous mode is automatically enabled, the interface immediately returns the task identifier, and the final result will be sent to this URL.

Response

Integration guide

Shell

Python

JavaScript

Java

Go

PHP

Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.

MiniMax H3 Video Generation
Allow Use General Balance

When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.