jpeg or jpg images to webp format.https://api.apyhub.com/convert/image/jpeg/webp/filePOSTmultipart/form-data| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| output | String | No | The output file name for the webp image. |
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| image | File | Yes | The source image file in jpeg or jpg format. |
| Status Code | Description |
|---|---|
| 200 | The request was successful. |
| 401 | Required authentication information is either missing or not valid for the resource. |
| 400 | Invalid input - the image file is corrupt. |
| 500 | If any unexpected error occurs while processing the request. |
tokens or basic authentication mechanisms.
You can generate and view your existing credentials from your workspace settings (on the left side of the navbar) and go to “API Keys".apy-token as the header parameter to pass the token.Authorization header to send the basic authentication credentials.