Separate data from design
Keep application data in the request while HTML, CSS, and layout stay in the template.
HTML/CSS API templates
Store HTML, CSS, fonts, assets, browser behavior, and image settings in a versioned template, then render it with a stable ID and named values.
<main class="report-card">
<h1>{{title}}</h1>
<img src="{{chart}}" />
</main>
{
"template_values": {
"title": "Quarterly results",
"chart": "https://..."
}
}Build your template
Both template types render by ID with named values.
Use cases
Keep application data in the request while HTML, CSS, and layout stay in the template.
Publish template changes deliberately and choose which version an integration renders.
Send a template ID and its values instead of repeating the full HTML and CSS document.
Store image dimensions, fonts, browser behavior, and output settings with the template.
You
HTML/CSS to Image
HTML/CSS to Image
MCP integration
Connect an MCP-compatible AI client to HCTI through OAuth.
Generate images and PDFs, capture webpages, and work with templates without putting an API key in the prompt.
HTML/CSS template API
Save the layout, assets, and image settings in a versioned template. Each image request sends the template ID and named values.
Create the template from complex HTML and CSS through the API.
Keep fonts, images, dimensions, browser options, and output settings with the design.
Release template changes deliberately while integrations continue rendering by stable ID.
Versioned templates
Send only the template ID and named values. The saved template provides the layout, assets, settings, and selected version.
Build detailed layouts without including the full document in every render request.
Keep fonts, images, viewport details, and output options with the template.
Publish an update under the same ID and choose which version to render.
HTML/CSS API templates
Keep complex HTML, CSS, assets, fonts, browser settings, and output options in a versioned template while requests send only the values that change.
API template workflows
See how different teams use stable template IDs, named values, and versioned layouts.
Back agent image tools with versioned HTML/CSS layouts, named values, and controlled rendering settings.
View workflowAutomate campaign variants with versioned HTML/CSS templates, named values, and reusable brand assets.
View workflowRender personalized sales collateral from CRM data with versioned HTML/CSS templates and stable IDs.
View workflowRender certificates, report cards, and course graphics from student data with versioned HTML/CSS templates.
View workflowBuild versioned financial report templates with reusable charts, disclosures, assets, and render settings.
View workflow