Skip to main content
POST
Batch resize 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
width
integer
default:1200
required
Required range: 1 <= x <= 8192
height
integer
Required range: 1 <= x <= 8192
fit
enum<string>
default:inside
Available options:
cover,
contain,
fill,
inside,
outside
format
enum<string>
default:webp
Available options:
webp,
png,
jpeg
quality
integer
default:82
Required range: 1 <= x <= 100

Response

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

The response is of type file.