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

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/BatchLatentsNode/en.md)

The Batch Latents node combines multiple latent inputs into a single batch. It takes a variable number of latent samples and merges them along the batch dimension, allowing them to be processed together in subsequent nodes. This is useful for generating or processing multiple images in a single operation.

## Inputs

| Parameter | Data Type | Required | Range          | Description                                                                                                                                                                                         |
| --------- | --------- | -------- | -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `latents` | LATENT    | Yes      | 1 to 50 inputs | A set of latent samples to be combined into a single batch. You must provide at least one latent, and you can add up to 50. The node automatically creates input slots as you connect more latents. |

**Note:** You must provide at least one latent input for the node to function. The node will automatically create input slots as you connect more latents, up to a maximum of 50.

## Outputs

| Output Name | Data Type | Description                                                                      |
| ----------- | --------- | -------------------------------------------------------------------------------- |
| `output`    | LATENT    | A single latent output containing all the input latents combined into one batch. |

***

**Source fingerprint (SHA-256):** `66b2a315c1ce3842e0ee014edd576e87e959591e6d54576c93cba2116b599736`
