Batch Rotate Images
Rotate or flip multiple images with one orientation setting and download a ZIP result.
POST /api/free/batch-rotate-imagesUse Batch Rotate Images online
Upload and manage a batch without entering an API key. Running the job requires a signed-in paid account.
1. Upload and settings
Use this tool online without an API key. Files are sent only when you run the request.
2. Preview and download
Preview, size changes and download controls are shown here
When to use this batch API
A batch image rotation API normalizes orientation and applies the same 0, 90, 180 or 270 degree transform, with optional flips, to a file collection.
Common workflows
- Correct camera exports that share an incorrect orientation.
- Rotate scanned pages before OCR or archiving.
- Apply a consistent horizontal or vertical flip to design assets.
- 01Upload the images you want to process with Batch Rotate Images.
- 02Choose one shared parameter set for the whole batch.
- 03Run the job, review per-file status, and download the ZIP or JSON result.
Use repeated files fields, then set Image files, Rotation angle, Vertical flip, Horizontal flip, Output format. EXIF orientation is normalized before the shared rotation and flip settings are applied.
Related single-image API
Use the single-image endpoint for free one-off processing, or this paid batch endpoint for repeatable multi-file work.
Rotate and Flip ImageIntegrate with the API
Programmatic batch calls require an API key owned by a paid account. One batch request counts as one API request.
POST /api/free/batch-rotate-imagesUse an APIAny key from a paid account. The API accepts up to 20 files and 100 MB total per request.
- EXIF orientation is normalized before the shared rotation and flip settings are applied.
- The output ZIP preserves upload order in manifest.json and isolates unreadable files.
Response
A successful request returns a zip response with the Content-Type described by this page.
Common errors
- 400
- A file or parameter is missing, invalid or outside the documented limit.
- 401
- The API key is missing, invalid or disabled for programmatic API calls.
- 429
- The online or authenticated shared rate limit has been reached.
Parameters and limits
| Parameter | Requirement | Default | Accepted values |
|---|---|---|---|
filesImage files | Required | — | file |
angleRotation angle | Optional | 90 | 0, 90, 180, 270 |
flipVertical flip | Optional | false | false, true |
flopHorizontal flip | Optional | false | false, true |
formatOutput format | Optional | webp | webp, png, jpeg |
API example
Use this authenticated example in code. The online Playground above intentionally does not request or expose your key.
curl -X POST "https://apiany.ai/api/free/batch-rotate-images" \ -H "Authorization: Bearer $API_KEY" \ -F "files=@a.png" \ -F "files=@b.jpg" \ -F "angle=90" \ -F "flip=false" \ -F "flop=false" \ -F "format=webp" \ --output rotated-images.zip
Frequently asked questions
Who can run Batch Rotate Images?
The page is public, but online execution requires a paid login and API calls require a paid account key.
What are the Batch Rotate Images file limits?
Online jobs accept 10 files and 50 MB total; API jobs accept 20 files and 100 MB total; each file can be 30 MB.
What does Batch Rotate Images return?
It returns ZIP + manifest.json. The output ZIP preserves upload order in manifest.json and isolates unreadable files.
Can Batch Rotate Images finish when one file fails?
Yes. Files are processed independently, successful results remain available, and failed items include an error code.