> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# LatentFlip - ComfyUI Built-in Node Documentation

> Complete documentation for the LatentFlip node in ComfyUI. Learn its inputs, outputs, parameters and usage.

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.

## Inputs

| Parameter     | Data Type      | 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. |

## Outputs

| Parameter | Data Type | 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. |
