Skip to main content
The LatentCrop node is designed to perform cropping operations on latent representations of images. It allows for the specification of the crop dimensions and position, enabling targeted modifications of the latent space.

Inputs

ParameterDescriptionData Type
samplesThe ‘samples’ parameter represents the latent representations to be cropped. It is crucial for defining the data on which the cropping operation will be performed.LATENT
widthSpecifies the width of the crop area. It directly influences the dimensions of the output latent representation.INT
heightSpecifies the height of the crop area, affecting the size of the resulting cropped latent representation.INT
xDetermines the starting x-coordinate of the crop area, influencing the position of the crop within the original latent representation.INT
yDetermines the starting y-coordinate of the crop area, setting the position of the crop within the original latent representation.INT

Outputs

ParameterDescriptionData Type
latentThe output is a modified latent representation with the specified crop applied.LATENT
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub