MiniMax H3 API
Complete API reference for MiniMax H3 video generation models.
Model Variants
This API supports three model variants:
Quick Comparison
Supported Aspect Ratios
Text to Video and Reference to Video support:
21:9, 16:9, 4:3, 1:1, 3:4, 9:16
Resolution Options
MiniMax H3 Text to Video
Endpoint
POST /api/v1/video/task
Request Parameters
Required
Example Request
javascript
MiniMax H3 Image to Video
Endpoint
POST /api/v1/video/task
Request Parameters
Required
Optional
Note: Image to Video does not support aspect_ratio.
Example Request
javascript
MiniMax H3 Reference to Video
Generate a new video from optional image, video, and audio references.
Endpoint
POST /api/v1/video/task
Request Parameters
Required
Reference Media
@ (AT) Reference Placeholders
The @ (AT) reference feature links reference media to the prompt through numbered <<<...>>> placeholders. Numbering starts at 1 independently for each media type and follows the order of the corresponding array.
For example, if the first image is a character reference and the second image is a scene reference, use <<<image_1>>> for the character and <<<image_2>>> for the scene in prompt. Each placeholder must point to an item that exists in its corresponding array.
Example Request
javascript
@ (AT) Reference-to-Video Request Example
javascript
Response Format
Initial Response
All models return a task_id for polling:
json
Polling Response
Poll GET /api/v1/video/{taskId} to check status:
json
Status Values
submitted: Task accepted and waiting to be processedprocessing: Video generation in progresssucceed: Video generation completedfailed: Video generation failed
Best Practices
- Describe Motion Clearly: Include specific movement descriptions in prompts
- Resolution Selection: Use
768pfor faster processing,2kfor higher quality output - Image Quality: For image-to-video, use high-quality input images for best results
- Reference Ordering: Keep
images,videos, andaudiosin intentional order and refer to them consistently in the prompt - @ (AT) References: Use
<<<image_N>>>,<<<video_N>>>, and<<<audio_N>>>placeholders when you need explicit control over which reference asset drives each part of the scene