FreeDailyPro
← All developer docs

Image resize API

Send an image and a target width and height, get the resized image back.

Try it

POST https://api.freedailypro.com/v1/image/resize. Get a trial key on the developers page; set it as KEY.

curl -X POST https://api.freedailypro.com/v1/image/resize -H "X-API-Key: $KEY" -F "file=@photo.png" -F "width=800" -F "height=600" -o small.png

What you send

  • file: the image (multipart form)
  • width, height: target size in pixels

What you get back

The resized image file.

Why use it

  • No image library or server to run
  • The same key also covers compress, convert and more
  • Files are processed in memory and discarded

More use cases

Nothing you send is stored. Files and text are processed in memory and discarded when the response is returned.