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