About this endpoint
What it does
Rescales an image from a source URL to the requested width and height, with optional cropping behavior controlled by the crop query parameter. The successful response is the resized image as binary data.
Query Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| url | String | Source image URL. Maximum length: 1000 characters. |
| crop | Boolean | Controls whether the image is cropped during rescaling. |
| width | Integer | Target width in pixels. Minimum: 1, maximum: 5000. |
| height | Integer | Target height in pixels. Minimum: 1, maximum: 5000. |
Response
Returns a binary response body containing the rescaled image.


