File formats

Last updated 2 months ago

Output images in the file format you need.

The API supports jpeg, png and webp. By default, each image is rendered as a jpeg. If you need a different file format, simply adjust the extension on the url. Such as: v1/image/image_id.png.

Format

Example

jpeg (default)

https://hcti.io/v1/image/a3ab2ab2-906e-4b5c-a88d-41a1c3f3779e

png

https://hcti.io/v1/image/a3ab2ab2-906e-4b5c-a88d-41a1c3f3779e.png

webp

https://hcti.io/v1/image/a3ab2ab2-906e-4b5c-a88d-41a1c3f3779e.webp

Global CDN

All images are cached and served by a global content delivery network. After the initial render, you can expect lighting fast load times.