Architectural Overview
Generate dynamic OpenGraph social share cards, automated certificates, invoice PDFs, and personalized marketing visuals by sending raw HTML or Tailwind CSS code. No headless browser crashes or memory leaks to manage.
Turn raw HTML, CSS, and Tailwind templates into high-DPI PNG, JPEG, or PDF documents via simple REST call. Serverless, fast, fixed $0.005/render.
Generate dynamic OpenGraph social share cards, automated certificates, invoice PDFs, and personalized marketing visuals by sending raw HTML or Tailwind CSS code. No headless browser crashes or memory leaks to manage.
No monthly base subscriptions, no minimum commitments, and no idle cluster charges. Compare real production costs below:
| Model / Task | LumozAI Price | Alternative Providers | Avg Latency | Recommended For |
|---|---|---|---|---|
| Lumoz HTML-to-Image | $0.005 / run | $0.020 / run | 450ms | OG cards, banners & receipts |
| DocRaptor | N/A | $0.050 / doc | 1.5s | Heavy print formatting |
| HTML2PDF Web API | N/A | $0.025 / run | 2.0s | Legacy rendering |
Execute directly against our high-throughput gateway. Replace YOUR_LUMOZ_API_KEY with your free developer key.
curl -X POST "https://lumozai.com/services/run" \
-H "Authorization: Bearer YOUR_LUMOZ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"slug": "html-to-image",
"html": "<div style=\"background:#0f172a; color:#38bdf8; font-family:sans-serif; padding:40px; border-radius:16px;\"><h1>Invoice #4029</h1><p>Status: Paid</p></div>",
"width": 800,
"height": 400
}'
Create a developer account to receive instant test credits, generate your unified API key, and launch in minutes.