Convert HTML to PNG.
The image generation API your LLM will love to use. Turn raw HTML into production-ready images for free. No sign up required.
Parameters
str Raw HTML string.
str png | jpeg | webp | pdf
int Retina scaling (1-4).
int Wait time in ms.
num Viewport zoom (0.1-3.0).
str CSS selector to capture.
bool Transparent background.
Fields
url
Public path to your generated asset. Not cached.
filename
Content-based hash identifier.
cached
Whether result was served from cache.
format
Output format used.
timestamp
ISO 8601 generation time.
success
Boolean status of the operation.
Beyond MCP
Not everything
needs an MCP.
Stop waiting for MCP server updates or proxy configurations. Your LLM agents are already capable of making HTTP requests. Give them the instructions, and let them render directly to the edge.
01
Zero Setup
No plugins, no servers, no local tunnels.
02
Agent Native
Works with Claude, GPT-5, and any tool-capable AI.
Common Queries
Frequently Asked Questions
Just send a simple HTTP POST request with your HTML in the request body. No JSON wrapping or escaping needed — raw HTML in, image out.
LLM agents like Claude and GPT-4 can call our API directly by sending raw HTML strings in the request body. No complex JSON escaping or MCP servers required — we designed it for AI workflows from the ground up.
Absolutely! Pass your HTML with dynamic content and we'll render it as an image. It's great for generating unique social share cards for blogs, SaaS products, or any page that needs custom previews.
Yes it does! Use the "deviceScaleFactor" parameter to generate 2x or 4x resolution images for sharp display on modern screens.
Yes! Just set the "format" parameter to "pdf" and you'll get a PDF document instead of an image.
Just add "omitBackground=true" to generate a transparent PNG. This is handy for icons, logos, or UI elements that need to overlay other content.
Yes! You can include Tailwind via CDN and use Google Fonts. The browser waits for all assets to load before capturing, so everything renders properly.
Yes, it's completely free! You get 200 requests per hour per IP, and there's no API key required to get started.
Usually a few seconds, depending on the complexity of your HTML and any external assets that need to load.
Yes! Use the "selector" parameter with a CSS selector (like "#my-card" or ".hero-section") to capture only that element instead of the full viewport.
Still confused? Contact Support or check the Reference