Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Enter token in format (Bearer )

Body

multipart/form-data
width
integer
required

Target width in pixels

Example:

800

image
file

The image file

url
string<uri>

Alternative: URL of image

height
integer

Target height in pixels

Example:

600

fit
enum<string>
Available options:
contain,
cover,
fill,
stretch,
crop
Example:

"cover"

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

85

format
enum<string>
Available options:
jpg,
png,
webp,
gif,
avif
Example:

"webp"

keep_forever
boolean
Example:

false

Response

200 - application/json

Image resized successfully

success
boolean
Example:

true

data
object