About this endpoint
What it does
Generates a thumbnail from an uploaded image file and returns a JSON object containing a data URI string for the generated result.
Query Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| width | Integer | Thumbnail width in pixels. Minimum: 1. |
| height | Integer | Thumbnail height in pixels. Minimum: 1. |
| output | String | Output name. |
| preserve_format | Boolean | Whether to preserve the original image format. |
| auto_orientation | Boolean | Whether to apply automatic orientation handling. |
Request Body
| Parameter | Type | Description |
|---|---|---|
| image | Binary | Image file to upload. Format: binary. |
Response
Returns a JSON object with a data string field formatted as a URI. This field contains the generated thumbnail location or reference.
| Parameter | Type | Description |
|---|---|---|
| data | String | URI for the generated thumbnail. Format: uri. |


