HTML/CSS to Image
Developer toolsCredentials form
Render HTML and CSS, webpage screenshots and reusable templates into PNG, JPG, WebP or PDF files with the HTML/CSS to Image API (hcti.io).
10 actions
| Action | Effect | Data handled | Scope |
|---|---|---|---|
| htmlcss_to_image_create_imageRenders HTML and CSS, or a screenshot of a public webpage, in Chrome and returns a permanent image URL and id | write | Personal data | |
| htmlcss_to_image_create_image_from_templateRenders a saved template with values for its Handlebars variables and returns the image URL and id | write | Personal data | |
| htmlcss_to_image_create_images_batchCreates up to 25 images in one request: defaults apply to every image and each variation overrides them with its own image creation parameters (html, url, css, device_scale and so on, in the API's snake_case) | write | Personal data | |
| htmlcss_to_image_list_imagesLists images created by the account, newest first, with their ids, URLs and creation times | read | General | |
| htmlcss_to_image_delete_imagePermanently deletes an image and clears it from the CDN | destructive | General | |
| htmlcss_to_image_list_templatesLists the account's templates with their ids, names, HTML, render settings and render counts | read | General | |
| htmlcss_to_image_list_template_versionsLists the versions of a template, each with its HTML, CSS and settings | read | General | |
| htmlcss_to_image_create_templateSaves reusable HTML and CSS with Handlebars variables such as {{title}} as a template, and returns its template_id | write | General | |
| htmlcss_to_image_update_templateSaves a new version of a template | write | General | |
| htmlcss_to_image_get_usageGets how many images the account created per hour, day, month and billing period | read | General |