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

# CreateVideo - ComfyUI Built-in Node Documentation

> Create Video 节点将一系列图像合并为视频。

Create Video 节点将一系列图像合并为视频。您可以设置以每秒帧数为单位的播放速度，可选地添加音频，并选择生成视频的压缩格式、位深度和色彩空间。

## 输入

| 参数 | 描述 | 数据类型 | 必需 | 范围 |
| - | - | - | - | - |
| `图像` | 用于创建视频的图像。 | IMAGE | 是 | - |
| `帧率` | 视频播放速度的每秒帧数（默认值：30.0）。 | FLOAT | 是 | 1.0 - 120.0 |
| `音频` | 要添加到视频的音频。 | AUDIO | 否 | - |
| `bit_depth` | `"auto"` 对 sRGB 使用 8 位，对 HDR 和 HDR PQ 使用 10 位。显式的 8 位和 10 位选择与色彩空间无关。（默认值：`"auto"`） | COMBO | 否 | `"auto"`<br />8<br />10 |
| `color_space` | 输入图像的色彩空间。HDR 选择 BT.2020/HLG，HDR PQ 选择 BT.2020/PQ。（默认值：`"sRGB"`） | COMBO | 否 | `"sRGB"`<br />`"HDR"`<br />`"HDR PQ"` |
| `codec` | 可选地立即对视频进行编码。`"none"` 会将图像保留为张量形式；`"auto"` 使用 H.264。（默认值：`"none"`） | COMBO | 否 | `"none"`<br />来自视频编解码器列表的可用视频编解码器选项（例如 `"auto"` 和其他受支持的编解码器） |

注意：当 `bit_depth` 设置为 `"auto"` 时，节点会自动对 HDR 和 HDR PQ 色彩空间使用 10 位，对 sRGB 使用 8 位。

注意：`codec` 参数是高级选项。当它保持为 `"none"` 时，输出保持为张量形式；选择任何其他编解码器都会立即对视频进行编码。

## 输出

| 输出名称 | 描述 | 数据类型 |
| - | - | - |
| `output` | 生成的视频，包含输入图像和可选音频。 | VIDEO |

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

***

**Source fingerprint (SHA-256):** `9274559caabbafbcaad47883bf017967f9685f155ea1031e66cf22ee8d0d14c3`


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