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

# Flip

> Mirror images horizontally, vertically, or both using the flip_ parameter.

Mirror an image with the `flip_` parameter: `flip_h` flips it left-to-right, `flip_v` flips it top-to-bottom, and `flip_hv` flips both axes at once.

> [!NOTE]
>
> Flipping mirrors the pixels without rotating them. `flip_hv` mirrors on both axes, which produces the same result as a **180°** rotation.

## How does it work?

You add a flip token to the transform segment. Autorender mirrors the image along the requested axis and returns the result at the same dimensions.

> [tab] Original
>
> ```text theme={null}
> https://assets.autorender.io/LOKVTtKVGb/w_360/doc1/gpose.jpg
> ```
>
> ![Original image](https://assets.autorender.io/LOKVTtKVGb/w_360/doc1/gpose.jpg)

> [tab] Horizontal (flip\_h)
>
> ```text theme={null}
> https://assets.autorender.io/LOKVTtKVGb/w_360,flip_h/doc1/gpose.jpg
> ```
>
> ![Horizontal flip](https://assets.autorender.io/LOKVTtKVGb/w_360,flip_h/doc1/gpose.jpg)

> [tab] Vertical (flip\_v)
>
> ```text theme={null}
> https://assets.autorender.io/LOKVTtKVGb/w_360,flip_v/doc1/gpose.jpg
> ```
>
> ![Vertical flip](https://assets.autorender.io/LOKVTtKVGb/w_360,flip_v/doc1/gpose.jpg)

> [tab] Both (flip\_hv)
>
> ```text theme={null}
> https://assets.autorender.io/LOKVTtKVGb/w_360,flip_hv/doc1/gpose.jpg
> ```
>
> ![Flip both](https://assets.autorender.io/LOKVTtKVGb/w_360,flip_hv/doc1/gpose.jpg)

| Mode | Description |
| - | - |
| `flip_h` | Mirrors horizontally (left-to-right) |
| `flip_v` | Mirrors vertically (top-to-bottom) |
| `flip_hv` | Mirrors on both axes |

## How to use flip?

* Use `flip_h` to correct mirror-mode selfies or product photos.
* Combine flipped versions of the same image to build symmetrical layouts.
* Apply flip after resizing, but before adding [text](https://autorender.io/docs/transformations/text-layers.md) or [image layers](https://autorender.io/docs/transformations/image-layers.md), so overlays keep their intended orientation.

## Next steps

> [card] [Rotate](https://autorender.io/docs/transformations/rotate.md)
>
> Rotate by any angle or auto-orient from EXIF data.

> [card] [Crop](https://autorender.io/docs/transformations/crop.md)
>
> Trim to exact dimensions with crop modes and positioning.

> [card] [Image layers](https://autorender.io/docs/transformations/image-layers.md)
>
> Add watermarks and logos on top of the flipped image.

> [card] [Recipes](https://autorender.io/docs/transformations/recipes.md)
>
> Save flip combinations as reusable `t_` tokens.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.