About this endpoint
What it does
Converts an uploaded PNG image to WebP and returns the converted file as a binary response. The request sends the source image in the multipart body and can optionally include an output query parameter.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| output | String | No | Output filename or identifier. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| image | String | Yes | The source image file in PNG format. |
Response
Returns a binary file containing the converted WebP image.
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| binary file | String | Yes | The converted WebP image as binary content. |