> ## 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.

# MinimaxHailuo03ReferenceNode - ComfyUI Built-in Node Documentation

> Complete documentation for the MinimaxHailuo03ReferenceNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

This node generates a video using the MiniMax H3 model, using reference images, videos, and audio to condition the result. References are referred to in the prompt by their connection order: "Image 1", "Image 2", "Video 1", "Audio 1", and so on.

## Inputs

| Parameter          | Description                                                                                                                                                                                                                | Data Type | Required | Range                      |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | -------------------------- |
| `model`            | Model to use for video generation (default: "MiniMax H3"). Selecting "MiniMax H3" provides the `prompt`, `duration`, `resolution`, `ratio`, `reference_images`, `reference_videos`, and `reference_audios` settings below. | STRING    | Yes      | "MiniMax H3"               |
| `prompt`           | Text description of the video to generate. Reference media can be referred to by their order, for example "Image 1", "Image 2", "Video 1", or "Audio 1".                                                                   | STRING    | Yes      | Min length: 1 character    |
| `duration`         | Duration of the generated video in seconds.                                                                                                                                                                                | INT       | Yes      | Multiple options available |
| `resolution`       | Output resolution of the generated video.                                                                                                                                                                                  | STRING    | Yes      | Multiple options available |
| `ratio`            | Aspect ratio of the generated video.                                                                                                                                                                                       | STRING    | Yes      | Multiple options available |
| `reference_images` | Subject or style reference images, referred to in the prompt as "Image 1".."Image 9" in connection order. Up to 9 images.                                                                                                  | IMAGE     | No       | 0 to 9 images              |
| `reference_videos` | Motion or scene reference videos, referred to in the prompt as "Video 1".."Video 3" in connection order. Up to 3 videos, 2-15 seconds each, 15 seconds in total.                                                           | VIDEO     | No       | 0 to 3 videos              |
| `reference_audios` | Audio references, referred to in the prompt as "Audio 1".."Audio 3" in connection order. Up to 3 clips, 2-15 seconds each, 15 seconds in total. Cannot be used without a reference image or video.                         | AUDIO     | No       | 0 to 3 clips               |
| `seed`             | Random seed. The same request with the same seed gives similar, but not guaranteed identical, results (default: 42).                                                                                                       | INT       | Yes      | 0 to 4294967295            |
| `watermark`        | Whether to add an AIGC watermark to the video (default: false).                                                                                                                                                            | BOOLEAN   | No       | true<br />false            |

### Parameter Constraints

* At least one reference image or one reference video is required. Reference audio alone is not accepted.
* Each reference image must have an aspect ratio between approximately 0.4 and 2.5 (2:5 to 5:2) and a minimum width and height of 256 pixels.
* Each reference video must be between 2 and 15 seconds long with a frame rate between 23.976 and 60 FPS. The total duration of all reference videos cannot exceed 15 seconds.
* Each reference audio clip must be between 2 and 15 seconds long. The total duration of all reference audio clips cannot exceed 15 seconds.

## Outputs

| Output Name | Description          | Data Type |
| ----------- | -------------------- | --------- |
| `video`     | The generated video. | VIDEO     |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/MinimaxHailuo03ReferenceNode/en.md)

***

**Source fingerprint (SHA-256):** `beca020333a544188e6c21829eb8e63415aa5299efc676438e85662a5f08660d`
