> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# ComfyUI MiniMax H3 Multiframe Reference Workflow

> Generate MiniMax H3 video continuations and multi-shot scenes in ComfyUI by anchoring reference frames at specific points along the output timeline with Add Guide nodes.

Generate video continuations and multi-shot scenes by anchoring reference frames at specific points along the output timeline. The workflow combines the Reference to Video node with chained Add Guide nodes: each Add Guide pins a still image (plus optional audio) to a frame index, so the video passes through that exact composition at that moment.

![MiniMax H3 Multiframe Reference workflow preview](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/video_minimax_h3_multiframe_reference-1.webp)

<CardGroup cols={2}>
  <Card title="Run on Comfy Cloud" icon="cloud" href="https://cloud.comfy.org/?template=video_minimax_h3_multiframe_reference&utm_source=docs&utm_medium=referral&utm_campaign=minimax-h3">
    Open in Comfy Cloud
  </Card>

  <Card title="Download Workflow" icon="download" href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/video_minimax_h3_multiframe_reference.json">
    Download JSON or search "MiniMax H3: Multiframe Reference" in Template Library
  </Card>
</CardGroup>

<CardGroup cols={2}>
  <Card title="Frame Reference 1: h3_frame_ref_1.png" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/h3_frame_ref_1.png">
    Identity reference and first frame of Shot 1, or use your own images.
  </Card>

  <Card title="Frame Reference 2: h3_frame_ref_2.png" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/h3_frame_ref_2.png">
    Keyframe anchored at 1.5s (Shot 2), or use your own images.
  </Card>

  <Card title="Frame Reference 3: h3_frame_ref_3.png" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/h3_frame_ref_3.png">
    Keyframe anchored at 3.0s (Shot 3), or use your own images.
  </Card>

  <Card title="Frame Reference 4: h3_frame_ref_4.png" icon="image" href="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/h3_frame_ref_4.png">
    First frame anchored at 5.0s (Shot 4), or use your own images.
  </Card>
</CardGroup>

## Model downloads

<CardGroup cols={2}>
  <Card title="Diffusion Model: minimax_h3_ref2va_pruned_int8_convrot" icon="download" href="https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/diffusion_models/minimax_h3_ref2va_pruned_int8_convrot.safetensors">
    Place in <code>ComfyUI/models/diffusion\_models/</code>
  </Card>

  <Card title="Text Encoder: qwen3vl_32b_minimax_h3_nvfp4_awq" icon="download" href="https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/text_encoders/qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors">
    Place in <code>ComfyUI/models/text\_encoders/</code>
  </Card>

  <Card title="VAE: minimax_h3_video_vae_fp16" icon="download" href="https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/vae/minimax_h3_video_vae_fp16.safetensors">
    Place in <code>ComfyUI/models/vae/</code>
  </Card>

  <Card title="VAE: minimax_h3_audio_vae_fp32" icon="download" href="https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/vae/minimax_h3_audio_vae_fp32.safetensors">
    Place in <code>ComfyUI/models/vae/</code>
  </Card>

  <Card title="LoRA: minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16" icon="download" href="https://huggingface.co/Comfy-Org/MiniMax-H3/blob/main/loras/minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors">
    Powers the optional Lightning LoRA turbo mode. Place in <code>ComfyUI/models/loras/</code>
  </Card>
</CardGroup>

## Model storage

```
ComfyUI/
├── 📂 models/
│   ├── 📂 diffusion_models/
│   │   └── minimax_h3_ref2va_pruned_int8_convrot.safetensors
│   ├── 📂 text_encoders/
│   │   └── qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors
│   ├── 📂 vae/
│   │   ├── minimax_h3_video_vae_fp16.safetensors
│   │   └── minimax_h3_audio_vae_fp32.safetensors
│   └── 📂 loras/
│       └── minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors
```

## Prompting tips

1. **Reference by tag**: `<Picture 1>` is the image connected to the first `ref_images` slot, `<Picture 2>` the second, and so on. In this workflow, `<Picture 1>` is both the identity lock and the first frame of the video
2. **Timeline anchors vs references**: Pictures connected only to Add Guide nodes pin compositions at specific frames but are not visible to the text encoder. Plug them into extra `ref_images` slots too if the prompt should see them as `<Picture N>`
3. **Frame index**: Each Add Guide takes `frame_idx` in frames at 24fps; the template computes it from seconds with `round(seconds * 24)`. Negative values count from the end of the video. The index plus the guide length must stay inside the generated duration
4. **Add more keyframes**: Copy one guide block (Load Image + Frame Index + Math Expression + Add Guide for MiniMax H3) and keep the `positive` outputs chained in series into the Basic Guider
5. **Turbo mode (optional)**: Enable the **Lightning LoRA** checkbox to use the 4-step turbo LoRA for much faster generation, with slightly lower audio and motion quality

## Prompt writing guide

The template prompt follows the [full-reference mode prompt guide](https://huggingface.co/MiniMaxAI/MiniMax-H3/blob/main/docs/VIDEO_PROMPT_WRITING_GUIDE_ref_en.md): it defines each subject, maps each `<Picture N>` to a shot's first frame or keyframe, and cuts between shots at explicit timestamps. Use the same structure when writing your own multi-shot prompts. The guide is summarized in the [prompt guide](/tutorials/video/minimax/minimax-h3-prompt-guide).
