Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The LatentCut node extracts a specific section from latent samples along a chosen dimension. It allows you to cut out a portion of the latent representation by specifying the dimension (x, y, or t), starting position, and amount to extract. The node handles both positive and negative indexing and automatically adjusts the extraction amount to stay within the available bounds.

Inputs

ParameterData TypeRequiredRangeDescription
samplesLATENTYes-The input latent samples to extract from
dimCOMBOYes”x"
"y"
"t”
The dimension along which to cut the latent samples
indexINTNo-16384 to 16384The starting position for the cut (default: 0). Positive values count from the start, negative values count from the end
amountINTNo1 to 16384The number of elements to extract along the specified dimension (default: 1)

Outputs

Output NameData TypeDescription
outputLATENTThe extracted portion of the latent samples