---
title: Flip Image Horizontally/Vertically API
slug: flip-image-horizontally-or-vertically
url: https://apyhub.com/freedailypro/service/flip-image-horizontally-or-vertically
provider: FreeDailyPro
tags: [flip-image, rotate-image, image-rotation]
auth: api_key
version: 1.0.0
service_type: sync
endpoints: 1
atoms: 10
mcp: true
---

# Flip Image Horizontally/Vertically API

Flip PNG and JPEG images horizontally or vertically using the FreeDailyPro API. Transform product photos, graphics, and other image assets with simple API requests.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/freedailypro/flip-image-horizontally-or-vertically/image-flip` | What it does Flips an uploaded image horizontally or vertically and returns the transformed image a… | 10 |

## Endpoint reference

### Flip an image

`POST https://api.eu.apyhub.com/freedailypro/flip-image-horizontally-or-vertically/image-flip` · 10 atoms · accepts `multipart/form-data` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `file` | body | string (binary) | yes | The image. Up to 15 MB. |
| `format` | body | string | no | png or jpeg |
| `direction` | body | string | yes | horizontal or vertical One of: horizontal, vertical. |

#### Quickstart

Flip an image horizontally or vertically by uploading a file and choosing the direction.

```bash
curl -X POST "https://api.eu.apyhub.com/freedailypro/flip-image-horizontally-or-vertically/image-flip" \
  -H "apy-token: $APY_TOKEN" \
  -F "file=@/path/to/image.jpg" \
  -F "direction=horizontal"
```

#### What you'll get back

Returns the flipped image as a binary file (`string` with `format: binary`).

## About

## What it does
Image Flipper flips an uploaded image horizontally or vertically and returns the transformed file as binary output.

Send a file plus a `direction` of `horizontal` or `vertical`. You can also provide `format` as `png` or `jpeg` when you want to control the image type of the result. The endpoint accepts image files up to 15 MB, which makes it suitable for common app assets, uploaded photos, or generated graphics that need orientation changes before storage or delivery.

Use Image Flipper when you need to mirror product photos for a storefront, correct an image layout for a UI, or create alternate compositions from the same source asset. Because the response is the processed image itself, you can pass it straight into your next upload, download, or media-processing step without extra parsing.

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/freedailypro/service/flip-image-horizontally-or-vertically
