Developer API

Image Transform API

Automate resize, crop, fit, rotate, format conversion, compression, and batch ZIP transforms.

Endpoints

Example: Multipart Transform

curl -X POST "https://cropresize.net/api/v1/transform" \
  -F "file=@portrait.jpg" \
  -F 'options={"w":600,"h":600,"fit":"cover","format":"jpeg","quality":88}'

Example: URL Transform

curl "https://cropresize.net/api/v1/transform?src=https://example.com/image.jpg&w=1024&h=1024&fit=cover&format=webp&quality=80"

The response includes a short-lived download URL. Files are private and auto-deleted.