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

# EmptyHunyuanVideo15Latent - ComfyUI Built-in Node Documentation

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

此节点创建一个空的潜在张量，专门用于 HunyuanVideo 1.5 模型。它通过分配一个具有正确通道数和空间维度的零张量，为视频生成生成一个空白起点，该张量符合模型的潜在空间要求。

## 输入

| 参数     | 描述                  | 数据类型 | 是否必填 | 范围 |
| ------ | ------------------- | ---- | ---- | -- |
| `宽度`   | 视频帧的宽度（像素）。         | INT  | 是    | -  |
| `高度`   | 视频帧的高度（像素）。         | INT  | 是    | -  |
| `时长`   | 视频序列中的帧数。           | INT  | 是    | -  |
| `批次大小` | 每批生成的视频样本数量（默认值：1）。 | INT  | 否    | -  |

**注意：** 生成的潜在张量的空间维度通过将输入的 `width` 和 `height` 除以 16 计算得出。时间维度（帧数）的计算公式为 `((length - 1) // 4) + 1`。

## 输出

| 输出名称      | 描述                                                                                                                                      | 数据类型   |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------ |
| `samples` | 一个空的潜在张量，其维度适用于 HunyuanVideo 1.5 模型。该张量的形状为 `[batch_size, 32, frames, height//16, width//16]`。输出还包含一个值为 16 的 `downscale_ratio_spacial`。 | LATENT |

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

***

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