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

# MinimaxHailuoVideoNode - ComfyUI Built-in Node Documentation

> 使用 MiniMax Hailuo-02 模型根据文本提示生成视频。

使用 MiniMax Hailuo-02 模型根据文本提示生成视频。您可以选择提供起始图像作为第一帧，从而创建从该图像继续生成的视频。

## 输入

| 参数      | 描述                                                    | 数据类型    | 是否必填 | 范围                       |
| ------- | ----------------------------------------------------- | ------- | ---- | ------------------------ |
| `提示文本`  | 用于指导视频生成的文本提示。                                        | STRING  | 是    | -                        |
| `种子`    | 用于生成噪声的随机种子（默认值：0）。                                   | INT     | 否    | 0 到 18446744073709551615 |
| `第一帧图像` | 可选图像，用作生成视频的第一帧。                                      | IMAGE   | 否    | -                        |
| `提示优化器` | 在需要时优化提示词以提高生成质量（默认值：True）。                           | BOOLEAN | 否    | True<br />False          |
| `时长`    | 输出视频的时长（秒，默认值：6）。                                     | COMBO   | 否    | 6<br />10                |
| `分辨率`   | 视频显示尺寸。1080p 为 1920x1080，768p 为 1366x768（默认值："768P"）。 | COMBO   | 否    | "768P"<br />"1080P"      |

**注意：** 当 `resolution` 设置为 "1080P" 时，`duration` 限制为 6 秒。当未提供 `first_frame_image` 时，`prompt_text` 不能为空。

## 输出

| 输出名称     | 描述       | 数据类型  |
| -------- | -------- | ----- |
| `output` | 生成的视频文件。 | VIDEO |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/MinimaxHailuoVideoNode/zh.md)

***

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