Skip to main content
The 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

ParameterDescriptionData TypeRequiredRange
samples1The first latent sample to concatenateLATENTYes-
samples2The second latent sample to concatenateLATENTYes-
dimThe 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/framesCOMBOYes"x"
"-x"
"y"
"-y"
"t"
"-t"
Note: The second latent sample (samples2) is automatically adjusted to match the batch size of the first latent sample (samples1) before concatenation.

Outputs

Output NameDescriptionData Type
outputThe concatenated latent samples resulting from combining the two input samples along the specified dimensionLATENT
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 82cc2d659cd7c3d35ad20eee6fc63a7574e7367397618c0bdf3e82924372dff7