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

# BatchLatentsNode - ComfyUI Built-in Node Documentation

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

批量潜空间节点将多个潜空间输入合并为单个批次。它接收可变数量的潜空间样本，并沿批次维度将其合并，以便在后续节点中一起处理。这对于在单次操作中生成或处理多张图像非常有用。

## 输入

| 参数       | 描述                                                               | 数据类型   | 必填 | 范围         |
| -------- | ---------------------------------------------------------------- | ------ | -- | ---------- |
| `latent` | 一组要合并为单个批次的潜空间样本。您必须至少提供两个潜空间，最多可添加 50 个。当您连接更多潜空间时，节点会自动创建输入插槽。 | LATENT | 是  | 2 至 50 个输入 |

**注意：** 节点正常运行至少需要两个潜空间输入。当您连接更多潜空间时，节点会自动创建输入插槽，最多可连接 50 个。

## 输出

| 输出名称     | 描述                         | 数据类型   |
| -------- | -------------------------- | ------ |
| `output` | 单个潜空间输出，包含合并为一个批次的所有输入潜空间。 | LATENT |

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

***

**Source fingerprint (SHA-256):** `215e7e2df43e902815dd87d228e8d5e09f18f6f52002cc3e861551fc207a9896`
