MiniMax H3 AI Video Generator
POST /api/v1/minimax-h3-ai-video-generator/submit
prompt is required.
Required inputs
promptstring- Text prompt describing the video to generate (max 20480 chars).
Edit the sample inputs for your own task before submitting.
# Set VIDMAGE_IDEMPOTENCY_KEY to a unique value for this task; preserve it for transport retries.
curl -X POST "https://vidmage.ai/api/v1/minimax-h3-ai-video-generator/submit" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: ${VIDMAGE_IDEMPOTENCY_KEY}" \
-H "Content-Type: application/json" \
-d '{"prompt":"A native 2K product film where the reference image controls the object, the reference clip controls the camera move, and the final frame lands on a clean hero composition","duration":"5","aspectRatio":"16:9","resolution":"2k","aigcWatermark":false}'
# -> { "success": true, "taskId": "...", "creditsConsumed": ... }Parameters and input rules10 fields
| Field | Type | Required | Default | Meaning and limits |
|---|---|---|---|---|
prompt | string | Yes | Not specified | Text prompt describing the video to generate (max 20480 chars). Minimum length: 1 · Maximum length: 20480 |
imageUrl | string | No | Not specified | Optional input image URL. When provided, the task runs in image-to-video mode. In that mode, output ratio is inferred from the input image. No additional field constraint listed. |
imageUrls | string[] | No | Not specified | Optional multimodal reference images. Public URLs only; 30 MB per file. Maximum items: 9 |
videoUrls | string[] | No | Not specified | Optional multimodal reference videos. Each video is 50 MB max. Maximum items: 3 |
audioUrls | string[] | No | Not specified | Optional multimodal reference audio. Each audio file is 15 MB max. Maximum items: 3 |
lastFrameUrl | string | No | Not specified | Optional public URL for the final frame in image-to-video mode. No additional field constraint listed. |
duration | string | No | "5" | Video duration in seconds. Values: "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" · Default: "5" |
aspectRatio | string | No | "16:9" | Output aspect ratio for modes that expose a ratio parameter. Ignored when imageUrl selects a mode whose ratio is inferred from the input image. Values: "16:9", "9:16", "1:1", "4:3", "3:4", "21:9", "adaptive" · Default: "16:9" |
resolution | string | No | "2k" | Output resolution tier. Values: "768p", "2k" · Default: "2k" |
aigcWatermark | boolean | No | false | Add an AIGC watermark to the generated video. Default: false |
Mode-specific fields & media limits
Text To Video rules
| Control | Mode-specific rule |
|---|---|
prompt | Required; minimum 1 characters; maximum 20480 characters |
duration | Values: "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"; mode default: "5" |
aspectRatio | Values: "16:9", "9:16", "1:1", "4:3", "3:4", "21:9"; mode default: "16:9" |
resolution | Values: "768p", "2k"; mode default: "2k" |
aigcWatermark | Default: false |
Image To Video rules
| Control | Mode-specific rule |
|---|---|
prompt | Required; minimum 1 characters; maximum 20480 characters |
duration | Values: "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"; mode default: "5" |
resolution | Values: "768p", "2k"; mode default: "2k" |
imageUrl | Image input |
lastFrameUrl | Optional final-frame image input |
aigcWatermark | Default: false |
Multimodal Video rules
| Control | Mode-specific rule |
|---|---|
prompt | Required; minimum 1 characters; maximum 20480 characters |
duration | Values: "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"; mode default: "5" |
aspectRatio | Values: "adaptive", "16:9", "9:16", "1:1", "4:3", "3:4", "21:9"; mode default: "adaptive" |
resolution | Values: "768p", "2k"; mode default: "2k" |
imageUrls | Image input; up to 9 items |
videoUrls | Video references; up to 3 items |
audioUrls | Audio references; up to 3 items |
aigcWatermark | Default: false |
Retrieve the result
Save taskId from the accepted submission and send it to this endpoint:
POST /api/v1/minimax-h3-ai-video-generator/query
Use the same Bearer API key. On completion, read the videoUrl result field.
curl -X POST "https://vidmage.ai/api/v1/minimax-h3-ai-video-generator/query" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "taskId": "TASK_ID_FROM_SUBMIT" }'
# -> { "success": true, "data": { "status": "...", "videoUrl": "https://..." } }