Retrieving an image

Last updated 2 months ago

API endpoint for retrieving an image.

After creating an image, you'll receive a URL to your image. This URL will render your image. The URL is permanent for as long as your account is active. It can be used for hot linking.

get
Get an image

https://hcti.io
/v1/image/:image_id
Renders your HTML/CSS into an image. Returns a jpeg by default. Change the file extension to return a png or webp image.
Request
Response
Query Parameters
height
optional
integer
The height of the image. Maximum: 5000
width
optional
integer
The width of the image. Maximum 5000
200: OK
Rendered image
422: Unprocessable Entity
Invalid filetypes will return an error
Sorry, we do not currently support that format. Valid image types are: jpg, webp or png

Global CDN

All images are served by Cloudflare's global content delivery network. They will be cached on servers around the world to provide fast load times.

‚Äč