Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Enter token in format (Bearer )

Body

multipart/form-data
quality
integer
required

Compression quality

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

85

image
file

The image file

url
string<uri>

Alternative: URL of image

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

"webp"

keep_forever
boolean
Example:

false

Response

200 - application/json

Image compressed successfully

success
boolean
Example:

true

data
object