About this endpoint
What it does
Converts a PNG image available at a publicly accessible URL into a WebP image. It returns a JSON object containing a data URI for the converted output.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| output | String | No | Optional output name. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Publicly accessible URL of the PNG image to convert. Must be a valid URI. |
Response
Returns a JSON object with a data string field formatted as a URI. This is the converted WebP image output.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | String | Yes | URI of the converted WebP image. |