> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# MinimaxHailuo03ReferenceNode - ComfyUI Built-in Node Documentation

> This node generates a video using the MiniMax H3 model, using reference images, videos, and audio to condition the result.

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

### Common Inputs

| Parameter   | Description                                                                                                                                                                                                                | Data Type      | Required | Range           |
| ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- | -------- | --------------- |
| `model`     | Model to use for video generation (default: "MiniMax H3"). Selecting "MiniMax H3" provides the `prompt`, `resolution`, `ratio`, `duration`, `reference_images`, `reference_videos`, and `reference_audios` settings below. | DYNAMIC\_COMBO | Yes      | "MiniMax H3"    |
| `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 |

### MiniMax H3 Inputs

These inputs appear when "MiniMax H3" is selected as the model.

| Parameter    | Description                                                                                                                                     | Data Type | Required | Range                                                                           |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ------------------------------------------------------------------------------- |
| `prompt`     | Text prompt for video generation. 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                                                         |
| `resolution` | Resolution of the output video (default: "768P").                                                                                               | STRING    | Yes      | "768P"<br />"2K"                                                                |
| `ratio`      | Aspect ratio of the output video (default: "adaptive").                                                                                         | STRING    | Yes      | "adaptive"<br />"16:9"<br />"4:3"<br />"1:1"<br />"3:4"<br />"9:16"<br />"21:9" |
| `duration`   | Duration of the output video in seconds (default: 5).                                                                                           | INT       | Yes      | 4 to 15                                                                         |

### Reference Inputs

| Parameter          | Description                                                                                                                                                                                                                                                   | Data Type | Required | Range         |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ------------- |
| `reference_images` | Growable slot: connect 1..9 items (`image_1`...`image_9`). 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` | Growable slot: connect 1..3 items (`video_1`...`video_3`). 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` | Growable slot: connect 1..3 items (`audio_1`...`audio_3`). 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  |

### 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):** `f7e9c68addda6b48a2366139ecfa28ee57e6cda4aa5cd775c2d769517366573f`
