> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/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.

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

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

## 输入参数

| 参数           | 数据类型 | 必填 | 范围 | 描述                   |
| ------------ | ---- | -- | -- | -------------------- |
| `width`      | INT  | 是  | -  | 视频帧的宽度（像素）。          |
| `height`     | INT  | 是  | -  | 视频帧的高度（像素）。          |
| `length`     | INT  | 是  | -  | 视频序列的帧数。             |
| `batch_size` | INT  | 否  | -  | 批次中要生成的视频样本数（默认值：1）。 |

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

## 输出

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