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

# KlingFirstLastFrameNode - ComfyUI Built-in Node Documentation

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

此节点使用 Kling 3.0 模型生成视频。它基于文本提示、指定时长以及两个提供的图像（起始帧和结束帧）来创建视频。该节点还可以为视频生成配套音频。

## 输入

| 参数                 | 描述                                                       | 数据类型    | 是否必填 | 范围                                  |
| ------------------ | -------------------------------------------------------- | ------- | ---- | ----------------------------------- |
| `提示词`              | 指导视频生成的文本描述。长度必须在 1 到 2500 个字符之间。                        | STRING  | 是    | 无                                   |
| `时长`               | 视频的时长（以秒为单位，默认值：5）。                                      | INT     | 否    | 3 到 15                              |
| `首帧`               | 视频的起始图像。必须至少为 300x300 像素，且宽高比在 1:2.5 到 2.5:1 之间。         | IMAGE   | 是    | 无                                   |
| `末帧`               | 视频的结束图像。必须至少为 300x300 像素，且宽高比在 1:2.5 到 2.5:1 之间。         | IMAGE   | 是    | 无                                   |
| `生成音频`             | 控制是否为视频生成音频（默认值：True）。                                   | BOOLEAN | 否    | 无                                   |
| `模型`               | 模型和生成设置。选择此选项会显示一个嵌套的 `resolution` 参数。                   | COMBO   | 否    | `"kling-v3"`                        |
| `model.resolution` | 生成视频的分辨率。此参数仅在 `模型` 设置为 `"kling-v3"` 时可用（默认值：`"1080p"`）。 | COMBO   | 否    | `"4k"`<br />`"1080p"`<br />`"720p"` |
| `种子`               | 用于控制节点是否应重新运行的数字。无论种子值如何，结果都是非确定性的（默认值：0）。               | INT     | 否    | 0 到 2147483647                      |

**注意：** `first_frame` 和 `end_frame` 图像必须满足指定的最小尺寸和宽高比要求，节点才能正常运行。

## 输出

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

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

***

**Source fingerprint (SHA-256):** `5c904fec35b2bb41cf521263b1b06fd36ba227400b4cec24e79a4e80618e4bae`
