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.
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThe LatentConcat node combines two latent samples by joining them together along a chosen dimension. It takes two latent inputs and concatenates them along the x, y, or t axis, with the option to control which sample comes first. The node automatically adjusts the batch size of the second input to match the first before performing the concatenation.
Inputs
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
samples1 | LATENT | Yes | - | The first latent sample to concatenate |
samples2 | LATENT | Yes | - | The second latent sample to concatenate |
dim | COMBO | Yes | "x""-x""y""-y""t""-t" | The dimension along which to concatenate the latent samples. Positive values (x, y, t) place samples1 before samples2 in the result. Negative values (-x, -y, -t) place samples2 before samples1. The dimension mapping is: x = width, y = height, t = time/frames |
samples2) is automatically adjusted to match the batch size of the first latent sample (samples1) before concatenation.
Outputs
| Output Name | Data Type | Description |
|---|---|---|
output | LATENT | The concatenated latent samples resulting from combining the two input samples along the specified dimension |
Source fingerprint (SHA-256):
82cc2d659cd7c3d35ad20eee6fc63a7574e7367397618c0bdf3e82924372dff7