About this endpoint
What it does
Converts an uploaded JPEG file to AVIF 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 name to use for the converted file. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| file | String | Yes | JPEG image file to convert. Format: binary. |
Response
Returns a binary file containing the converted AVIF image.