Skip to main content

Body

This endpoint will crop images intuitively and return the cropped image.
image_url
string
This is the image url of the image you want to crop.
ratio
Integer
This is the ratio of the cropped image. The value could be 9:16 for long vertical, 16:9 for horizontal, 1:1 for square, 4:5 for vertical social media, etc.

Response

cropped_image_url
string
This is the url of the cropped image.