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

# RunwayFirstLastFrameNode - ComfyUI Built-in Node Documentation

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

Runway 首尾帧生成视频节点通过上传首帧、尾帧及文本提示词来生成视频。该节点利用 Runway 的 Gen-3 模型，在提供的起始帧与结束帧之间创建平滑过渡。当结束帧与起始帧差异显著时，此功能尤其适用于复杂转场场景。

## 输入

| 参数    | 描述                               | 数据类型   | 是否必填 | 取值范围                                |
| ----- | -------------------------------- | ------ | ---- | ----------------------------------- |
| `提示词` | 用于生成的文本提示词（默认值：空字符串）             | STRING | 是    | 无                                   |
| `起始帧` | 用于视频的起始帧                         | IMAGE  | 是    | 无                                   |
| `结束帧` | 用于视频的结束帧。仅 gen3a\_turbo 模型支持此参数。 | IMAGE  | 是    | 无                                   |
| `时长`  | 视频时长（秒）（默认值："5"）                 | COMBO  | 是    | `"5"`<br />`"10"`                   |
| `比例`  | 生成视频的宽高比（默认值："16:9"）             | COMBO  | 是    | `"16:9"`<br />`"9:16"`<br />`"1:1"` |
| `种子`  | 用于生成的随机种子。设为 0 则使用随机种子（默认值：0）。   | INT    | 否    | 0 至 4294967295                      |

**参数约束：**

* `prompt` 必须至少包含 1 个字符
* `start_frame` 和 `end_frame` 的最大尺寸均不得超过 7999x7999 像素
* `start_frame` 和 `end_frame` 的宽高比必须介于 0.5 至 2.0 之间
* `end_frame` 参数仅在使用 gen3a\_turbo 模型时支持

## 输出

| 输出名称     | 描述                | 数据类型  |
| -------- | ----------------- | ----- |
| `output` | 在起始帧与结束帧之间过渡生成的视频 | VIDEO |

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

***

**Source fingerprint (SHA-256):** `57b72c1143b7053272107403279e1f84919cbfe71c57ca4f4e21b4324f7a5346`
