Pick or generate a incredible template design. Pass your data. Get an image URL. One API call.
Generate custom React templates with AI or customize our hand-crafted examples. Pass variables and render via API.
No template fits? Type what you need in plain English. AI generates a production-ready template in seconds.
From template to image in one API call.
Browse 99+ ready-made templates or describe what you need, our AI generates one for you.
// Use a starter or let AI create one "A blog OG image with title and author"
Send your data as JSON. Title, image, colors, whatever your template needs.
POST /v1/url
{
"templateId": "tmpl_abc",
"variables": {
"title": "Hello World"
}
}Receive a CDN-cached URL. Drop it into og:image, emails, Slack, anywhere.
// Response
{
"url": "https://image.htmlpix.com/..."
}Write a React component. Get a image. Try it yourself.
export default function Template({
title = "Pick a Template. Get an Image.",
subtitle = "AI-powered template generation...",
badge = "HTMLPIX",
accentColor = "#ff4d00",
bgColor = "#0f0f0f",
}) {
return (
<div style={{
display: "flex", width: "100%", height: "100%",
backgroundColor: bgColor,
}}>
{/* Blueprint grid background */}
<div style={{
position: "absolute", inset: 0,
backgroundImage: "linear-gradient(
rgba(245,240,232,0.04) 1px, transparent 1px),
linear-gradient(90deg,
rgba(245,240,232,0.04) 1px, transparent 1px)",
backgroundSize: "60px 60px",
}} />
<div style={{ padding: "64px 72px" }}>
<span style={{ color: accentColor,
letterSpacing: "0.2em",
}}>{badge}</span>
<h1 style={{ fontFamily: "Bebas Neue",
fontSize: 96, color: "#f5f0e8",
}}>{title}</h1>
<p style={{ fontFamily: "Space Mono",
fontSize: 22, color: "rgba(245,240,232,0.5)",
}}>{subtitle}</p>
</div>
</div>
);
}
A unique social preview for every page on your site. One template, one API call.
Personalized stats, dashboards, and banners rendered as images. Works in every email client.
Badges, year-in-review cards, and certificates your users can post on social media.
Post your key metrics to Slack or email as a clean dashboard image. Runs on a cron job.
One template, a spreadsheet of copy, and you have all your ad variants in minutes.
Just migrated our OG images to @htmlpix. Should have done this months ago.
Show customer quotes on your site as styled cards. No embed scripts, no API keys.
You only pay when we generate an image. Once created, it's cached on our CDN and served unlimited times at zero extra cost.
Let AI build your design. Plug in your data. Get a image URL. No credit card required.
Start Building