Image

Process images

post

Compress, resize, rotate, or convert images between formats (HEIC, PNG, JPG, WebP, AVIF).

Body
filestring · binaryRequired

Image file to process

actionstring · enumRequired

Image operation to perform

Possible values:
optionsstringOptional

JSON string. Resize: {"width":800,"height":600,"fit":"contain","quality":0.9}. Rotate: {"angle":90}. Compress: {"quality":0.85,"format":"jpeg"}

Responses
chevron-right
200

Processed image file

image/*
string · binaryOptional
post
/api/image-process

Last updated