minimax-video-h3, minimax-video-h3-highspeed, minimax-video-h3-lite, and minimax-video-h3-max.content multimodal array for parameter passing. The submission endpoint is POST /v1/wand/minimax-video-v2/generation, and the query endpoint is GET /v1/wand/minimax-video-v2/tasks/{task_id}. The text-to-video, image-to-video, and multimodal reference-to-video capabilities share the same submission endpoint and are distinguished by the material type in the content array and the role field.POST /v1/wand/minimax-video-v2/generation, which returns a task_id upon success.task_id until task.status = succeeded, and then obtain the video URL from task.content.url.request_id (top-level, used for troubleshooting). The query API additionally returns tokenhub_usage (usage consumption, including tokenhub_usage.total_tokens). Task status enumeration: queued / running / succeeded / failed / cancelled, subject to the actual response.Model Name | model Parameter Value | Supported Capability | Video Duration (s) | Resolution Tier | Selection Recommendations |
MiniMax-Video-H3 | minimax-video-h3 | Text-to-video / image-to-video (first and last frames) / multimodal reference-based generation | 4 ~ 15 | 768P / 2K (1080P input is downgraded to 768P, and 4K input is downgraded to 2K) | Latest flagship: 2K direct output, multimodal reference (image/video/audio), and native stereo sound. |
MiniMax-Video-H3-Highspeed | minimax-video-h3-highspeed | Text-to-video / image-to-video (first and last frames) / multimodal reference-based generation | 4 ~ 15 | 480P / 768P (2K not supported; 1080P / 2K / 4K input is silently downgraded to 768P). | Balanced quality and speed: faster output than H3, retains multimodal reference capability, and supports up to 768P. |
MiniMax-Video-H3-Lite | minimax-video-h3-lite | Text-to-video / image-to-video (first and last frames) / multimodal reference-based generation | 4 ~ 15 | 480P / 768P (2K not supported; 1080P / 2K / 4K input is silently downgraded to 768P). | Lite version: lowest unit price and latency; multimodal reference generation requires explicitly specifying ratio (adaptive is not supported). |
MiniMax-Video-H3-Max | minimax-video-h3-max | Text-to-video / image-to-video (first frame / last frame) / multimodal reference-based generation | 5 to 15 (4 seconds not supported) | 480P / 768P (2K not supported; 1080P / 2K / 4K input is silently downgraded to 768P). | H3 high-speed version: faster output and lower cost; 2K is not supported, and extra.prompt_expansion_mode prompt expansion is supported. |
minimax-video-h3-lite does not support adaptive, so you must explicitly specify a concrete ratio.extra.prompt_expansion_mode takes effect only for minimax-video-h3-max. If passed to minimax-video-h3, minimax-video-h3-highspeed, or minimax-video-h3-lite, it will be ignored.POST https://tokenhub-intl.tencentcloudmaas.com/v1/wand/minimax-video-v2/generationParameter Name | Required | Type | Description |
model | Yes | string | Model name. Values: minimax-video-h3, minimax-video-h3-highspeed, minimax-video-h3-lite, minimax-video-h3-max |
content | Yes | array[object] | Multimodal input array. For text-to-video, it contains only one text element. Subfields: type (text), text (prompt). text must be non-empty and contain at most 7000 characters. |
resolution | Yes | string | Video resolution. h3: 768P / 2K (if 1080P is passed, it is downgraded to 768P; if 4K is passed, it is downgraded to 2K). h3-highspeed / h3-lite / h3-max: Only 480P / 768P, 2K is not supported (if 1080P / 2K / 4K is passed, it will be silently downgraded to 768P). |
duration | Yes | integer | Video duration in seconds. h3 / h3-highspeed / h3-lite: An integer from 4 to 15. h3-max: An integer from 5 to 15 (4 seconds is not supported). If a value outside this range is passed, no error will be reported, and it will be silently reset to 5 seconds. |
ratio | Yes | string | Aspect ratio. Required for text-to-video and cannot be adaptive (adaptive is processed as 16:9). Options: 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16. |
aigc_watermark | No | boolean | Whether to add an AIGC watermark. Default value: false. |
extra.prompt_expansion_mode | No | string | Effective only for minimax-video-h3-max. If minimax-video-h3, minimax-video-h3-highspeed, or minimax-video-h3-lite is passed, it is ignored. Prompt expansion mode. disabled disables prompt expansion; balanced enables balanced expansion and is the default value; quality enables quality-first expansion.Available options: disabled, balanced, quality If extra or this property is not passed, balanced is used. Do not pass balance, an empty string, a boolean value, or other undeclared fields. |
curl -X POST 'https://tokenhub-intl.tencentcloudmaas.com/v1/wand/minimax-video-v2/generation' \\-H 'Authorization: Bearer YOUR_API_KEY' \\-H 'Content-Type: application/json' \\-d '{"model": "minimax-video-h3","content": [{"type": "text","text": "An orange kitten on the windowsill looks at the camera"}],"resolution": "2K","duration": 6,"ratio": "16:9"}'
model in the example with minimax-video-h3-highspeed, minimax-video-h3-lite, or minimax-video-h3-max. These three models do not support 2K, so change resolution to 480P or 768P. minimax-video-h3-max does not support a duration of 4 seconds.Field | Type | Description |
task_id | string | Task ID of the generated task, used for polling to query task status. |
request_id | string | Unique request identifier used for troubleshooting. |
base_resp. Whether the submission is successful depends on the HTTP status code and whether a task_id is returned.{"task_id": "4-WandVideo-a786becfdc80433b8cff4aa344c8fd3d","request_id": "3aec3299-06ad-4654-8b45-c57b823a15d2"}
POST https://tokenhub-intl.tencentcloudmaas.com/v1/wand/minimax-video-v2/generationParameter Name | Required | Type | Description |
model | Yes | string | Model name. Values: minimax-video-h3, minimax-video-h3-highspeed, minimax-video-h3-lite, minimax-video-h3-max |
content | Yes | array[object] | Multimodal input array: 1 text + 1 to 2 image_url items (role is first_frame / last_frame).Image content[].image_url: supports first-frame/last-frame images (role=first_frame/last_frame), supports URL or Base64 format. Image formats: jpg/jpeg/png/webp/heic/heif. Width and height: [256, 5760] px. Aspect ratio: [0.4, 2.5]. First frame: ≤ 1 image; last frame: ≤ 1 image. Single image size: <= 30 MB. 1. Base64: After an image is converted to Base64, it is counted into the request body. Total request body size: <= 64 MB (Base64 expands the size by about 33%; for large images, use a public network URL). Format requirement: data:image/<image_format>;base64,. Note: For jpg images, set the image format to jpeg.2. URL: Must be publicly accessible (http/https). |
resolution | Yes | string | Video resolution. h3: 768P / 2K (1080P input is downgraded to 768P, and 4K is downgraded to 2K); h3-highspeed / h3-lite / h3-max: only 480P / 768P, 2K not supported (1080P / 2K / 4K input is silently downgraded to 768P). |
duration | Yes | integer | Video duration (seconds). h3 / h3-highspeed / h3-lite: an integer from 4 to 15; h3-max: an integer from 5 to 15 (4 seconds not supported). Values outside the range do not cause an error and are silently reset to 5 seconds. |
ratio | No | string | Aspect ratio. For image-to-video, it is always adaptive (the aspect ratio is determined by the input image); explicitly passing 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16 does not cause an error, but the value is ignored and processed as adaptive. |
aigc_watermark | No | boolean | Whether to add an AIGC watermark. Default value: false. |
extra.prompt_expansion_mode | No | string | Effective only for minimax-video-h3-max. If minimax-video-h3, minimax-video-h3-highspeed, or minimax-video-h3-lite is passed, it is ignored. Prompt expansion mode. disabled disables prompt expansion; balanced enables balanced expansion and is the default value; quality enables quality-first expansion.Available options: disabled, balanced, quality If extra or this property is not passed, balanced is used. Do not pass balance, an empty string, a boolean value, or other undeclared fields. |
curl -X POST 'https://tokenhub-intl.tencentcloudmaas.com/v1/wand/minimax-video-v2/generation' \\-H 'Authorization: Bearer YOUR_API_KEY' \\-H 'Content-Type: application/json' \\-d '{"model": "minimax-video-h3","content": [{"type": "text","text": "Transition naturally from the first frame to the last frame"},{"type": "image_url","image_url": { "url": "https://example.com/start.jpg" },"role": "first_frame"},{"type": "image_url","image_url": { "url": "https://example.com/end.jpg" },"role": "last_frame"}],"resolution": "768P","duration": 6}'
model in the example with minimax-video-h3-highspeed, minimax-video-h3-lite, or minimax-video-h3-max. If only the first frame is passed, delete the last_frame field.{"task_id": "4-WandVideo-a786becfdc80433b8cff4aa344c8fd3d","request_id": "3aec3299-06ad-4654-8b45-c57b823a15d2"}
minimax-video-h3, minimax-video-h3-highspeed, minimax-video-h3-lite, and minimax-video-h3-max. Audio-only input is not allowed. At least one reference video or image is required.POST https://tokenhub-intl.tencentcloudmaas.com/v1/wand/minimax-video-v2/generationParameter Name | Required | Type | Description |
model | Yes | string | Model name. Values: minimax-video-h3, minimax-video-h3-highspeed, minimax-video-h3-lite, minimax-video-h3-max |
content | Yes | array[object] | Multimodal input array: 1 text + reference materials (role is reference_image / reference_video / reference_audio). Reference images: no more than 9; reference videos: no more than 3; reference audio clips: no more than 3; total materials: no more than 12. See the following table for subfields and material constraints.Image content[].image_url: supports 0-9 reference images (role=reference_image), supports URL or Base64 format, JPG/JPEG/PNG/WEBP/HEIC/HEIF; width and height: [256, 5760] px, aspect ratio: [0.4, 2.5]; single file size: <= 30 MB. 1. Base64: After an image is converted to Base64, it is counted into the request body. Total request body size: <= 64 MB (Base64 expands the size by about 33%; for large images, use a public network URL). Format requirement: data:image/<image_format>;base64,.2. URL: Must be publicly accessible (http/https). Video content[].video_url: supports 0-3 reference videos (role=reference_video). Video formats: mp4/mov. Supports URL or Base64 format. Single reference video duration: 2-15 seconds. Total duration of all reference videos: <=15 seconds. Single video size: <=50 MB. 1. Base64: The total Base64 size of all reference videos must be <= 64 MB. Format requirement: data:video/<video_format>;base64,. Note: When the video format is mov, enter quicktime as the video format.2. URL: Must be publicly accessible (http/https). Audio content[].audio_url: supports 0-3 reference audio clips (role=reference_audio). Supports URL or Base64 format. Audio formats: wav/mp3. Single clip duration: 2-15 seconds. Total duration of all reference audio clips: <=15 seconds. Single audio file size: <=15 MB. 1. Base64: After the audio is converted to Base64, it is counted into the request body. Total request body size: <= 64 MB. Format requirement: data:audio/<audio_format>;base64,. Note: When the audio format is mp3, enter mpeg as the audio format.2. URL: Must be publicly accessible (http/https). |
resolution | Yes | string | Video resolution. h3: 768P / 2K; h3-highspeed / h3-lite / h3-max: only 480P / 768P (2K not supported; 1080P / 2K / 4K input is silently downgraded to 768P). |
duration | Yes | integer | Video duration (seconds). h3 / h3-highspeed / h3-lite: an integer from 4 to 15; h3-max: an integer from 5 to 15 (4 seconds not supported). Values outside the range do not cause an error and are silently reset to 5 seconds. |
ratio | No | string | Aspect ratio. Default: adaptive (automatic); can be explicitly set to 21:9 / 16:9 / 4:3 / 1:1 / 3:4 / 9:16. minimax-video-h3-lite does not support adaptive and requires one of the specified ratios. |
aigc_watermark | No | boolean | Whether to add an AIGC watermark. Default value: false. |
extra.prompt_expansion_mode | No | string | Effective only for minimax-video-h3-max. If minimax-video-h3, minimax-video-h3-highspeed, or minimax-video-h3-lite is passed, it is ignored. Prompt expansion mode. disabled disables prompt expansion; balanced enables balanced expansion and is the default value; quality enables quality-first expansion.Available options: disabled, balanced, quality If extra or this property is not passed, balanced is used. Do not pass balance, an empty string, a boolean value, or other undeclared fields. |
Parameter Name | Required | Type | Description |
type | Yes | string | Material type. Enum values: text / image_url / video_url / audio_url. |
text | Conditionally required | string | Text prompt. Required when type=text (each request must contain a non-empty text item). Up to 7,000 characters. |
image_url | Conditionally required | object | Image material. Required when type=image_url. Structure: { "url": "..." } |
video_url | Conditionally required | object | Video material. Required when type=video_url. Structure: { "url": "..." } |
audio_url | Conditionally required | object | Audio material. Required when type=audio_url. Structure: { "url": "..." } |
role | No | string | Material purpose. Enum values: first_frame / last_frame / reference_image / reference_video / reference_audio. |
reference_image / reference_video / reference_audio appears in content, first_frame / last_frame cannot appear, and vice versa.curl -X POST 'https://tokenhub-intl.tencentcloudmaas.com/v1/wand/minimax-video-v2/generation' \\-H 'Authorization: Bearer YOUR_API_KEY' \\-H 'Content-Type: application/json' \\-d '{"model": "minimax-video-h3","content": [{"type": "text","text": "The character in the reference image moves naturally in the scene of the reference video"},{"type": "image_url","image_url": { "url": "https://example.com/character.jpg" },"role": "reference_image"},{"type": "video_url","video_url": { "url": "https://example.com/scene.mp4" },"role": "reference_video"}],"resolution": "768P","duration": 6,"ratio": "16:9"}'
model in the example with minimax-video-h3-highspeed, minimax-video-h3-lite, or minimax-video-h3-max.{"task_id": "4-WandVideo-a786becfdc80433b8cff4aa344c8fd3d","request_id": "3aec3299-06ad-4654-8b45-c57b823a15d2"}
task_id is returned, poll the task status through the unified task query endpoint. Upon success, obtain the video URL from the result.GET https://tokenhub-intl.tencentcloudmaas.com/v1/wand/minimax-video-v2/tasks/{task_id}{task_id} in the path is the task_id returned when the task was submitted (represented by YOUR_TASK_ID in the example). Video generation takes approximately 1 to 3 minutes, so polling every 3 to 5 seconds is recommended.Parameter Name | Required | Type | Description |
task_id | Yes | string | Task ID (path parameter), which is the task_id returned when the task is submitted. |
curl -X GET 'https://tokenhub-intl.tencentcloudmaas.com/v1/wand/minimax-video-v2/tasks/YOUR_TASK_ID' \\-H 'Authorization: Bearer YOUR_API_KEY'
Field | Type | Description |
task | object | Task object. |
task.id | string | Task ID. |
task.model | string | Name of the model used, such as MiniMax-H3, MiniMax-H3-Highspeed, MiniMax-H3-Lite, or MiniMax-H3-Max. |
task.status | string | Task status: queued / running / succeeded / failed / cancelled. |
task.task_type | string | Task type, such as generation (video generation). |
task.modality | string | Modality of the task output, such as video. |
task.created_at | integer | Task creation time, Unix timestamp in seconds. |
task.updated_at | integer | Task update time, Unix timestamp in seconds. |
task.content | object | Content of the generated task result, returned on success. |
task.content.url | string | Download URL of the generated video. It is a temporary URL valid for 12 hours. Download and save it promptly. |
task.error | object | Task failure information, returned when status=failed. |
task.error.code | string | Error code for the failure. |
task.error.message | string | Description of the failure reason. |
task.duration | integer | Video duration in seconds. |
task.resolution | string | Video resolution, such as 768P. |
task.ratio | string | Video aspect ratio, such as 16:9. |
task.usage | object | Task video usage information. |
task.usage.input_image_count | integer | Number of input images. |
task.usage.input_seconds | integer | Input video duration in seconds. |
task.usage.output_seconds | integer | Output video duration in seconds. |
task.usage.total_seconds | integer | Total video duration in seconds. |
tokenhub_usage | object | Usage consumption of this request. |
tokenhub_usage.total_tokens | integer | Number of tokens consumed by this task, used for billing and reconciliation. |
request_id | string | Unique request identifier used for problem locating and troubleshooting. |
task object without base_resp or a top-level status. The task identifier and status are in task.id / task.status.{"task": {"id": "4-WandVideo-a786becfdc80433b8cff4aa344c8fd3d","model": "MiniMax-H3-Max","task_type": "generation","modality": "video","status": "succeeded","created_at": 1772345678,"updated_at": 1772345810,"resolution": "768P","duration": 5,"ratio": "16:9","content": {"url": "https://example.com/output-video.mp4"},"usage": {"total_seconds": 5,"input_seconds": 0,"output_seconds": 5,"input_image_count": 0}},"tokenhub_usage": {"total_tokens": 102655},"request_id": "3aec3299-06ad-4654-8b45-c57b823a15d2"}
status | Description | Handling Recommendation |
succeeded | Generation succeeded | Obtain the video URL from task.content.url. |
queued / running | Queued / Generating | Poll once every 3 to 5 seconds until the operation succeeds. |
failed | Generation failed | Check the failure cause (see task.error.message), make modifications, and retry. If the failure persists, contact technical support and provide the request_id. |
cancelled | Task canceled. | The task has been terminated and will no longer be updated. If you need the result, submit the task again. |
HTTP Status Code | Business Code | Error Message | Description |
200 | 0 | success | Request succeeded. |
401 | 1000 | Authentication failed | Authorization is missing or the apikey is invalid. |
401 | 1001 | Authorization is empty | The Authorization header is not carried. |
401 | 1002 | Authorization is invalid | The apikey is invalid or has expired. |
401 | 1003 | Authorization is not yet valid | The apikey is not yet valid. |
401 | 1004 | Authorization has expired | The apikey has expired. |
429 | 1100 | Account exception | Account exception (possibly due to overdue payment, suspension, or ban). |
429 | 1101 | Account in arrears (postpaid) | The postpaid account has an overdue payment. |
429 | 1102 | Resource pack depleted or expired | The resource pack has been used up or has expired. |
403 | 1103 | Access denied for the requested resource | No access to the requested resource (the corresponding model/capability is not subscribed). |
400 | 1200 | Invalid request parameters | Invalid request parameters (missing required fields, incorrect types, out-of-range enum values, and so on). |
400 | 1201 | Invalid parameters | Invalid parameter value. Check the valid value range in the documentation. |
404 | 1202 | The requested method is invalid | The HTTP method is incorrect. |
404 | 1203 | The requested resource does not exist | The endpoint path is incorrect or the resource does not exist. |
400 | 1300 | Trigger the platform strategy | Triggers a platform policy (such as failed content moderation or non-compliant input). |
400 | 1301 | Trigger platform sensitive word list | The content contains sensitive words or non-compliant prompts. |
429 | 1302 | Too frequent API calls | The calls are too frequent, triggering rate limiting. |
429 | 1303 | Concurrency or QPS exceeds the limit | The concurrency or QPS exceeds the preset quota. |
400 | 1304 | Trigger IP strategy | Triggers IP address policy-based interception. |
500 | 5000 | Internal server error | Internal server error. |
503 | 5001 | Server is temporarily unavailable | The service is temporarily unavailable (usually due to high load or maintenance). |
504 | 5002 | Server internal timeout | Internal server timeout. |
minimax-video-h3.minimax-video-h3-highspeed.minimax-video-h3-lite (for reference-based generation, ratio must be explicitly specified).minimax-video-h3-max. It also supports prompt expansion through extra.prompt_expansion_mode, which is not supported by other models.Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan