Reference to Video Generation
Video generation V2 API. Input via multimodal content array (text / image / video / audio). Supports text-to-video, image-to-video (first/last frame), and multimodal reference-to-video with 2K output.
Authorizations
Headers
Body
Model name. Currently available: MiniMax-H3, MiniMax-H3-Max.
MiniMax-H3: Supports text-to-video, image-to-video (first/last frame), and multimodal reference-to-video; resolution 768P / 2K; duration 4 ~ 15 seconds.MiniMax-H3-Max: Ultra-fast generation version. Only supports text-to-video and image-to-video (first/last frame); does not support multimodal reference (reference image / reference video / reference audio); resolution 480P / 768P, does not support 2K; duration 5 ~ 15 seconds.
MiniMax-H3, MiniMax-H3-Max Multimodal input content array describing the information used to generate the video. Each element is distinguished by type (text / image_url / video_url / audio_url) and can be annotated with a role.
Each request must contain a non-empty text item (prompt is required); omission will return a parameter error.
Supported input combinations (corresponding to different generation scenarios):
- Multimodal reference-to-video: text + reference images (role=reference_image) + reference videos (role=reference_video) + reference audio (role=reference_audio) in combination. Image-to-video and multimodal reference-to-video are mutually exclusive: if any of reference_image / reference_video / reference_audio roles appear in content, first_frame / last_frame must not appear (and vice versa); they cannot be mixed.
Input media limits (total request body size ≤ 64 MB; use public URLs for large files, do not use Base64)
Image image_url:
Video video_url (multimodal reference scenario only):
Audio audio_url (multimodal reference scenario only):
Output video aspect ratio, default adaptive (automatically selects the most suitable aspect ratio based on input; the actual ratio can be retrieved from the ratio field in the query API).
Multimodal reference video for R2VA (content can include reference_image / reference_video / reference_audio): ratio is optional, default is adaptive; you can also explicitly specify any specific ratio mentioned above.
adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 Callback notification URL for task status changes. After configuration, the MiniMax server will first send a verification request containing a challenge field (must return the challenge value unchanged within 3 seconds to complete verification). Once verified, whenever the task status changes, a POST push will be sent to this URL, with the push body structure matching the query task API response.
Callback status values: queued, running, succeeded, failed, cancelled.