IMG API

API key required !

Sending a file

[POST] https://resize.ovh/upload (with multipart upload - field name: image)
[POST] https://resize.ovh/upload_base64 (field name: image base 64 encoded)
[POST] https://resize.ovh/upload_http (field name: url)

Return :

JSON document with { filename: your_uuid_filename }

Get original image

<img src="https://resize.ovh/o/:uuid">

Resize (with aspect ratio)

<img src="https://resize.ovh/r/:uuid/200">

Resize & crop an image (with aspect ratio)

<img src="https://resize.ovh/r/:uuid/200/300">
<img src="https://resize.ovh/r/:uuid/100/100">

Sample

Webp sample

webp with fallback