Image

Image Cropping

Crop specific regions from an image.

POST /v1/image/crop

https://api.cludz.net/v1/image/crop

Crop a rectangular region from an uploaded image.

Body Parameters (FormData):

ParameterRequiredDescriptionType
imageYesThe image file.file
leftYesLeft offset (x-coordinate).number
topYesTop offset (y-coordinate).number
widthYesWidth of the crop area.number
heightYesHeight of the crop area.number

Example

curl -X POST "https://api.cludz.net/v1/image/crop" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "image=@/path/to/image.jpg" \
  -F "left=100" \
  -F "top=100" \
  -F "width=200" \
  -F "height=200" \
  --output crop.jpg

Response

Returns the cropped image file directly.

Built with 💖 by Miza • © 2026 - Powered by Nuxt