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

# MinimaxHailuo03FirstLastFrameNode - ComfyUI Built-in Node Documentation

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

此节点使用 MiniMax H3 模型，从首帧图像和可选的末帧图像生成视频。视频遵循所提供图像的宽高比，并且当提供末帧时，会从首帧向末帧进行动画生成。

## 输入

| Parameter     | Description                                                                | Data Type | Required | Range           |
| ------------- | -------------------------------------------------------------------------- | --------- | -------- | --------------- |
| `model`       | 用于视频生成的模型。此组合包括模型选择（“MiniMax H3”）、描述要生成视频的文本提示、输出分辨率和视频时长。提示必须至少包含一个非空白字符。 | COMBO     | 是        | "MiniMax H3"    |
| `first_frame` | 视频的首帧图像。生成视频的宽高比遵循该图像。图像必须至少为 256x256 像素，且宽高比在 0.4 到 2.5 之间。               | IMAGE     | 是        | -               |
| `last_frame`  | 可选的视频末帧图像。提供后，视频将从首帧开始，以该图像结束。必须满足与 `first_frame` 相同的尺寸和宽高比要求。             | IMAGE     | 否        | -               |
| `seed`        | 随机种子。使用相同种子的相同请求会产生相似但不保证完全相同的结果。包含“生成后控制”选项，可在每次生成后随机化。默认值：42。            | INT       | 是        | 0 到 4294967295  |
| `watermark`   | 是否在视频中添加 AIGC 水印。这是一个高级参数。默认值：False。                                       | BOOLEAN   | 是        | True<br />False |

**约束说明：**

* `model` 组合中的文本提示不能为空；仅包含空白的提示将被拒绝。
* 任何提供的帧图像（`first_frame`，以及若使用 `last_frame`）必须至少为 256 像素宽和 256 像素高，宽高比在 0.4 到 2.5 之间（约为 2:5 到 5:2）。
* `last_frame` 是可选的。省略时，视频仅从首帧生成。
* 输出视频的宽高比由提供的图像决定，而非由单独的宽高比设置决定。

## 输出

| Output Name | Description                     | Data Type |
| ----------- | ------------------------------- | --------- |
| `video`     | 使用 MiniMax H3 模型从首帧和可选的末帧生成的视频。 | VIDEO     |

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

***

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