Skip to main content
POST
Batch crop images

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
files
file[]
required

Image files. Each file can be up to 30 MB; the combined API request can be up to 100 MB.

Required array length: 1 - 20 elements
left
integer
default:0
required
Required range: x >= 0
top
integer
default:0
required
Required range: x >= 0
width
integer
default:500
required
Required range: 1 <= x <= 8192
height
integer
default:500
required
Required range: 1 <= x <= 8192
format
enum<string>
default:webp
Available options:
webp,
png,
jpeg

Response

ZIP archive containing successful image outputs and manifest.json with ordered per-file results.

The response is of type file.