Create a MiniMax H3 clip (up to 15 s)
create_minimax_h3_videoGenerate a short AI video from a single photo: basic mode animates the image with generated audio, while reference mode lip-syncs to an audio clip. Returns a job ID.
Instructions
Start a minimax-h3 generation from one photo. mode='basic': user_prompt (scene description) + requested_duration_s (5-15); the model animates the photo and generates the soundtrack itself. mode='reference': one audio_clip_id drives the clip with lip-sync (first 15 s billed); user_prompt is optional; up to 8 extra image / 3 video / 2 audio reference_files with reference_captions keep a product or background consistent. Output is 768 px on the short side, orientation follows the photo. Cost 3.3 credits per billed second, charged on create. Returns the job id; call wait_for_job(model='minimax-h3') until done (1-3 min).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| name | No | ||
| image_url | No | ||
| image_path | No | ||
| user_prompt | No | Scene / motion description (required in basic mode) | |
| audio_clip_id | No | Reference mode: the clip that drives the video | |
| reference_files | No | Reference mode: local paths of extra reference images/videos/audio | |
| reference_captions | No | One caption per reference file, same order | |
| requested_duration_s | No | Clip length in basic mode (default 8) |