h3_image_to_video
Generate video with synchronized audio from a text prompt, optionally using first and last keyframe images as anchors.
Instructions
Generate video with synchronized audio from a text prompt, optionally anchored by a first and/or last keyframe (MiniMax-H3 fl2va model).
With no keyframes this is pure text-to-video. Images may be a local file path (uploaded automatically) or a name already in ComfyUI's input folder. length is a frame count at 24 fps and snaps up to the model's 17k+5 grid; 124 frames is about 5 seconds, and the trained range is roughly 124-362. Leave width/height unset: they default to 864x480, which is both faster and closer to the prompt than larger canvases. Only raise it if the user asks. This produces ONE continuous shot - it cannot contain cuts, so for a multi-shot sequence call this once per shot and edit the clips together rather than describing several shots in one prompt. Takes MINUTES: ~3-4 min at the defaults on an RTX 4090, longer at higher resolution or step count. The response carries estimated_seconds; poll job_status at that cadence instead of assuming a long run has hung. Do NOT set sage_attention without first checking list_assets - if ComfyUI runs with --use-sage-attention, sage is already on and this is redundant. Returns immediately with a prompt_id - poll job_status to get the output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| steps | No | ||
| width | No | ||
| height | No | ||
| length | No | ||
| prompt | Yes | ||
| scheduler | No | simple | |
| last_frame | No | ||
| megapixels | No | ||
| first_frame | No | ||
| shift_audio | No | ||
| shift_video | No | ||
| sampler_name | No | res_multistep | |
| sage_attention | No | disabled | |
| filename_prefix | No | video/h3_i2v |