From HTML/CSS
Send HTML and CSS to render an image or PDF. Use your own layouts, fonts, and JavaScript.
POST https://hcti.io/v1/image
{ "html": "<h1>Hello world</h1>", "css": "h1 { color: #00b980; }"}Your search for pixel-perfect image generation ends here.
Live demo Get an API KeyGenerate images and PDFs from HTML/CSS, take screenshots of webpages, or create thousands of images from a single template. We run the browsers so you don’t have to.
png, jpg, webp, or pdfSend HTML and CSS to render an image or PDF. Use your own layouts, fonts, and JavaScript.
POST https://hcti.io/v1/image
{ "html": "<h1>Hello world</h1>", "css": "h1 { color: #00b980; }"}Screenshot a public webpage, capture the full page, or crop to a specific element.
POST https://hcti.io/v1/image
{ "url": "https://example.com", "full_screen": true}Design a template in the visual editor or with HTML/CSS, then generate images with different text, images, and data.
POST https://hcti.io/v1/image/TEMPLATE_ID
{ "template_values": { "title": "Hello world" }}Connect your website or CMS and generate a social card for each page from its screenshot or metadata.
<head> <meta property="og:image" content="https://hcti.io/v1/og/DOMAIN_ID/" ></head>Choose your path to get started:
| I want to… | Go here |
|---|---|
| Read the API docs | Using the API |
| Try requests in Postman | Official collection · Setup guide |
| Add automatic social cards | Open Graph Images for a website, CMS, or store |
| Design a reusable template | Template Editor |
| See example code | PHP, JavaScript, Ruby, Python, GoLang, cURL, C#, TypeScript, Java, Rust, Kotlin, Elixir |
| Use with AI assistants | Connect Claude, ChatGPT/Codex, Cursor, Grok, and more with MCP |
| Automation options | n8n, Zapier, or Make |
| See use cases | Use Cases & Examples |
To use this API, you’ll need an API key. Get started for free:
Get an API KeyTyped Go requests, responses, and helpers for images, templates, batches, and signed URLs.
Manage organization resources through REST and MCP with scoped permissions.
Official Python and PHP packages with typed requests and signed URL helpers.
Install the verified HCTI integration directly from the n8n Nodes panel.
Choose PNG, JPG, WebP, or PDF in image creation requests.