Skip to main content
The LatentCut node extracts a specific section from latent samples along a chosen dimension. It cuts out a portion of the latent representation by specifying the dimension (x, y, or t), the starting position, and how much to extract. The node supports both positive and negative indexing and automatically adjusts the extraction amount so it stays within the available bounds.

Inputs

Note: The index and amount values are adjusted to fit the actual size of the latent along the selected dimension. If index is larger than the dimension size, it is clamped to the last valid position. If index is negative, it is clamped to the dimension size in absolute terms, and amount is limited so it does not go past the end of the data.

Outputs

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): 7682de2644a4b85dba0571406f9f9802eca7caab09dc2ccf1ac91dc13b41bcdf