About this endpoint
What it does
Converts a WebP image fetched from a public URL into an AVIF file and returns the converted file as binary data. The request takes the source image URL in the body and can optionally take an output name in the query string.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| output | String | No | Output file name prefix for the converted file. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Publicly accessible URL of the WebP image to convert. Must be a URI. |
Response
Returns a binary response containing the converted AVIF file. The output schema is a single string with binary format, so there is no JSON wrapper or named response field.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| response | String | Yes | Binary file content for the converted AVIF image. |