HTML → Image API

HTML to Image. Pixel-perfect. Sub-second.

The fastest way to generate images from HTML — for your app, your workflow, your AI agent.

curlInput
curl -X POST https://api.rendshot.ai/v1/image \
  -H "Authorization: Bearer rs_live_..." \
  -d '{
    "template_id": "social-card",
    "variables": {
      "title": "Building Scalable APIs",
      "author": "Sarah Chen"
    }
  }'
Rendered outputOutput
开发者必看#API设计
5 个让你的
API 性能
翻倍的技巧
Sarah 的技术笔记
向右滑动 →
Xiaohongshu · 1080×1440

Why RendShot

Self-hosted screenshots

Still running your own Playwright?

  • Manage browser instances
  • Handle concurrency queues
  • Monitor memory leaks
  • Maintain Docker images
AI image generation

Waiting 30 seconds for Nano Banana?

Speed
30s<2s
Cost per image
$0.04$0.001
Output quality
RandomPixel-perfect
RendShot

One API. Sub-second. Pixel-perfect.

  • Zero infrastructure
  • Template system
  • MCP native
  • PNG / JPEG / WebP

Integration

API / SDK
In-App Integration

Embed in your SaaS — render on user action

Node.js · Python · REST
MCP
AI Agent Tool

Agent generates HTML, RendShot renders. 1-2 seconds.

Claude · Cursor · Windsurf · VS Code
HTTP
Workflow Automation

One HTTP node in n8n / Windmill / Zapier

Any HTTP-capable workflow platform
import { RendshotClient } from '@rendshot/sdk'

const client = new RendshotClient({ apiKey: 'rs_live_...' })
const image = await client.renderImage({
  html: '<div>Hello</div>',
  width: 1200,
})
console.log(image.url)

Works with

Use Cases

Developer Experience

Custom Viewports

Any width from 320 to 3840px. Full-page scroll capture for long content.

320–3840px

Template System

Reusable templates with typed variables. Validate inputs before rendering.

SSRF Protection

DNS-level validation on every request. Fail-closed security model.

Tab Pool

Browser instance pooling for fast concurrent rendering. 8 tabs, auto-recycled.

Multi-format

PNG, JPEG, and WebP output. Choose quality and format per request.

Usage Tracking

Real-time usage stats, plan quotas, and rate limit monitoring.

Pricing

Start free, upgrade when you're ready. No surprise fees, no credit card required.

Free

For personal projects

$0/month
  • 10 req/min rate limit
  • 100 images monthly quota
  • 7 days image retention
  • HTML Rendering
  • URL Screenshots
  • CLI + MCP
  • Priority support
Get Started Free
Pro

For teams & production

Popular
$19/month
  • 100 req/min rate limit
  • 10,000 images monthly quota
  • 30 days image retention
  • HTML Rendering
  • URL Screenshots
  • CLI + MCP
  • Priority support

Need more?

Custom limits, SLA, permanent retention, dedicated support.

Contact Sales →

Common Questions

Ready to generate your first image?

Get API Key