Generate your first image with the official Postman collection.
Open in PostmanThe collection includes examples for HTML/CSS images, website screenshots, and PDFs, plus a parameter reference for image and template requests. You can browse the collection documentation before forking it.
Create your first image
Section titled “Create your first image”- Open the collection and fork it into your own Postman workspace.
- Create an environment with
api_idandapi_keyfrom your HCTI dashboard. Keep credential values private, and select that environment before sending requests. - Open Use cases → Getting started with a simple request. Change the
urlfield under Body → form-data to the webpage you want to capture, or use the supplied example. - Click Send. The API returns JSON containing the generated image’s
urlandid. - Open View or download the latest image and click Send to retrieve the file. Successful creation requests save
image_urlautomatically for this step.
Image creation requires the images:create permission and uses your account’s image credits. The collection uses HTTP Basic authentication: api_id is the username and api_key is the password. See API keys and authentication for details.
Explore examples and parameters
Section titled “Explore examples and parameters”- Use cases includes HTML to image, full-page and mobile screenshots, cookie-banner blocking, element cropping, and PDF generation.
- Full API reference lists the supported parameters for the included image and template operations. Open Body → form-data, check optional rows to include them, and edit their values. Each parameter has a description and documentation link. Unchecked rows are omitted; example values are suggestions, not API defaults.
To render a template, set template_id to a template in your account and match template_values to its variables. You can also run Create a template first, which saves the new template ID. Template creation requires templates:create_update.
Run the examples individually. Saved response examples are illustrative and contain placeholder image IDs; send a request with your credentials to generate your own image URL.
Make a request manually
Section titled “Make a request manually”You can also create a POST request to https://hcti.io/v1/image. Select Basic Auth in the Authorization tab and enter your API ID and API key. Under Body → form-data, add html and optional css, or add url to capture a webpage. Postman sets the form’s Content-Type header automatically.
See Using the API for endpoints and response formats, or MCP setup to connect to HCTI’s hosted MCP server.