About this endpoint
What it does
Converts a JPEG/JPG image uploaded as multipart form data into a WebP file and returns the converted file as a binary download.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| output | String | No | Output filename hint for the download. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| image | String | Yes | The source image file in JPEG/JPG format. Binary file upload. |
Response
Returns a binary file download containing the converted WebP image. The success response is a binary payload rather than a JSON object.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| binary | String | Yes | The response body is a binary file stream. |