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

# EmptyFlux2LatentImage - ComfyUI Built-in Node Documentation

> Complete documentation for the EmptyFlux2LatentImage 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/EmptyFlux2LatentImage/zh.md)

EmptyFlux2LatentImage 节点创建一个空白的潜在表示。它生成一个填充零值的张量，作为 Flux 模型去噪过程的起点。潜在表示的维度由输入的宽度和高度决定，并按 16 的比例因子进行缩放。

## 输入参数

| 参数名          | 数据类型 | 必填 | 取值范围      | 描述                                   |
| ------------ | ---- | -- | --------- | ------------------------------------ |
| `width`      | INT  | 是  | 16 至 8192 | 要生成的最终图像的宽度。潜在宽度将是此值除以 16。默认值为 1024。 |
| `height`     | INT  | 是  | 16 至 8192 | 要生成的最终图像的高度。潜在高度将是此值除以 16。默认值为 1024。 |
| `batch_size` | INT  | 否  | 1 至 4096  | 单批次中要生成的潜在样本数量。默认值为 1。               |

**注意：** `width` 和 `height` 输入值必须能被 16 整除，因为节点内部会将这些值除以 16 以创建潜在维度。

## 输出结果

| 输出名称      | 数据类型   | 描述                                                               |
| --------- | ------ | ---------------------------------------------------------------- |
| `samples` | LATENT | 一个填充零值的潜在张量。其形状为 `[batch_size, 128, height // 16, width // 16]`。 |
