Flip Latent

Documentation

  • Class name: LatentFlip

  • Category: latent/transform

  • Output node: False

The LatentFlip node is designed to manipulate latent representations by flipping them either vertically or horizontally. This operation allows for the transformation of the latent space, potentially uncovering new variations or perspectives within the data.

Input types

Parameter
Comfy dtype
Description

samples

LATENT

The ‘samples’ parameter represents the latent representations to be flipped. The flipping operation alters these representations, either vertically or horizontally, depending on the ‘flip_method’ parameter, thus transforming the data in the latent space.

flip_method

COMBO[STRING]

The ‘flip_method’ parameter specifies the axis along which the latent samples will be flipped. It can be either ‘x-axis: vertically’ or ‘y-axis: horizontally’, determining the direction of the flip and thus the nature of the transformation applied to the latent representations.

Output types

Parameter
Comfy dtype
Description

latent

LATENT

The output is a modified version of the input latent representations, having been flipped according to the specified method. This transformation can introduce new variations within the latent space.

Last updated