Convert an image to another format
convert_imageConvert an image to JPEG, PNG, WebP, AVIF, GIF or TIFF. Use webp or avif to modernise images for the web. Returns a download URL valid for one hour.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | The format to convert to. | |
| quality | No | ||
| image_url | No | Public http(s) address of the image. Use this or image_base64. | |
| max_width | No | ||
| max_height | No | ||
| image_base64 | No | The image file's bytes, base64-encoded. Use for a local file, e.g. one in the repository. |