Batch Resize Images
Apply one width, height, fit mode and format to multiple images, then download a ZIP manifest.
POST /api/free/batch-resize-imagesUse Batch Resize 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 resizer applies one dimension and fit policy to multiple images while reporting each output separately. It is useful when a collection must meet the same layout constraints.
Common workflows
- Prepare a product catalog for fixed storefront image slots.
- Generate consistent editorial thumbnails from mixed originals.
- Standardize user uploads before object storage or CDN delivery.
- 01Upload the images you want to process with Batch Resize 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, Width, Height, Fit mode, Output format, Quality. The same resize settings are applied to every accepted image while preserving per-file errors.
Related single-image API
Use the single-image endpoint for free one-off processing, or this paid batch endpoint for repeatable multi-file work.
Resize 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-resize-imagesUse an APIAny key from a paid account. The API accepts up to 20 files and 100 MB total per request.
- The same resize settings are applied to every accepted image while preserving per-file errors.
- The ZIP contains resized files plus manifest.json with original and output dimensions.
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 |
widthWidth | Required | 1200 | number |
heightHeight | Optional | — | number |
fitFit mode | Optional | inside | cover, contain, fill, inside, outside |
formatOutput format | Optional | webp | webp, png, jpeg |
qualityQuality | Optional | 82 | number |
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-resize-images" \ -H "Authorization: Bearer $API_KEY" \ -F "files=@a.png" \ -F "files=@b.jpg" \ -F "width=1200" \ -F "fit=inside" \ -F "format=webp" \ --output resized-images.zip
Frequently asked questions
Who can run Batch Resize Images?
The page is public, but online execution requires a paid login and API calls require a paid account key.
What are the Batch Resize 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 Resize Images return?
It returns ZIP + manifest.json. The ZIP contains resized files plus manifest.json with original and output dimensions.
Can Batch Resize Images finish when one file fails?
Yes. Files are processed independently, successful results remain available, and failed items include an error code.