How to Use MiniMax H3 Max Text to Video
-
Write the prompt: Describe the scene, subject action, camera movement, lighting, and visual style in prompt. Detailed prompts produce more controllable results.
-
Pick resolution and duration: Set resolution to 480p, 768p, or 1080p, and duration to any value from 5 to 15 seconds. Higher resolution and longer duration cost more.
-
Set aspect ratio: Choose aspect_ratio from 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16 to match your target platform.
-
Choose prompt expansion (optional): Set prompt_expansion_mode to disabled, balanced (default), or quality to control how much the model rewrites your prompt before rendering. quality adds up to ~30 seconds of processing.
-
Submit and retrieve: POST the request, then poll /predictions/{request_id}/result or supply a webhook_url to receive the finished video URL.
curl -X POST https://api.muapi.ai/api/v1/minimax-h3-max-text-to-video \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A cinematic tracking shot of a silver sports car driving through a rain-soaked city at night.",
"aspect_ratio": "16:9",
"resolution": "1080p",
"duration": 6
}'