Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 791 Bytes
description
Output images in the file format you need.

File formats

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

{% hint style="success" %}

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. {% endhint %}