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

# MinimaxHailuoVideoNode - ComfyUI Built-in Node Documentation

> Generates videos from text prompts using the MiniMax Hailuo-02 model.

Generates videos from text prompts using the MiniMax Hailuo-02 model. You can optionally provide a starting image to use as the first frame, which creates a video that continues from that image.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `prompt_text` | Text prompt to guide the video generation (default: empty). | STRING | Yes | - |
| `seed` | The random seed used for creating the noise (default: 0). | INT | No | 0 to 18446744073709551615 |
| `first_frame_image` | Optional image to use as the first frame to generate a video. | IMAGE | No | - |
| `prompt_optimizer` | Optimize prompt to improve generation quality when needed (default: True). | BOOLEAN | No | True<br />False |
| `duration` | The length of the output video in seconds (default: 6). | COMBO | No | 6<br />10 |
| `resolution` | The dimensions of the video display. 1080p is 1920x1080, 768p is 1366x768 (default: "768P"). | COMBO | No | "768P"<br />"1080P" |

**Note:** When `resolution` is set to "1080P", `duration` is limited to 6 seconds. When `first_frame_image` is not provided, `prompt_text` must not be empty.

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `output` | The generated video file. | 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/MinimaxHailuoVideoNode/en.md)

***

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.