Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Enter token in format (Bearer )

Body

multipart/form-data
file
file
required

The image file to resize

width
integer
required

Target width in pixels

Example:

800

height
integer

Target height in pixels

Example:

600

mode
enum<string>

Resize mode

Available options:
fit,
fill,
crop
Example:

"fit"

quality
integer

Output quality

Required range: 1 <= x <= 100
Example:

85

Response

Image resized successfully

success
boolean
Example:

true

data
object