Introduction
RendShot is an API that turns HTML/CSS into images and captures URL screenshots. One HTTP call, one image back.
What is RendShot?
RendShot is a cloud API with two capabilities:
- HTML → Image — Send HTML/CSS, get back a PNG or JPEG. No browser setup, no infrastructure to manage.
- URL → Screenshot — Send a URL, get back a screenshot of the rendered page.
You send one HTTP request; you receive one hosted image URL. That's it.
curl -X POST https://api.rendshot.ai/v1/image \
-H "Authorization: Bearer rs_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"html": "<h1 style=\"padding:40px;color:#fff\">Hello World</h1>", "width": 800, "height": 400}'{
"id": "img_abc123",
"url": "https://assets.rendshot.ai/img_abc123.png",
"width": 800,
"height": 400,
"format": "png"
}The returned url is a CDN-hosted image you can embed anywhere — social media, emails, dashboards, Slack messages.
Who is it for?
- Application developers — Generate OG images, social cards, or receipts on the fly
- Marketing / Growth teams — Create personalized images at scale without a designer
- AI agents and tools — Let Claude, GPT, or your own agent produce visual output via MCP
- QA / DevOps — Capture screenshots of staging URLs in CI pipelines
How you can use it
| Method | Best for |
|---|---|
| REST API | Any language, any platform — just HTTP |
| JavaScript SDK | Node.js / TypeScript projects |
| Python SDK | Python scripts, notebooks, Django/FastAPI |
| CLI | Terminal workflows, shell scripts, CI/CD |
| MCP Server | Claude, Cursor, VS Code, and other AI assistants |
Key facts
- Output: PNG or JPEG, up to 4096 × 4096 pixels, with 1×/2×/3× device scale
- Fonts: Google Fonts loaded automatically — pass
fonts: ["Inter"]and it works - Storage: Images are hosted on a global CDN. Retention depends on your plan (7 days free, 30 days pro)
- Security: All URLs go through SSRF validation — private/internal addresses are blocked
- Pricing: Free tier gives you 100 images/month. Pro plan available — see Pricing
Next step
Ready to try it? The Quickstart gets you from zero to your first image in under 5 minutes.