Invoices, receipts and statements — without running headless Chrome yourself. Describe a template in plain English, let AI build it, then POST JSON and get a PDF in ~2 seconds.
No credit card required.
$ curl -X POST https://api.paperfox.dev/v1/generate \
-H "Authorization: Bearer pf_live_…" \
-H "Content-Type: application/json" \
-d '{
"template_id": "tmpl_invoice",
"data": {
"customer": { "name": "Acme Corp" },
"items": [{ "description": "Design", "amount": 2400 }],
"total": 3078
}
}' --output invoice.pdf
✓ 200 OK · application/pdf · 1.8s → invoice.pdf“A clean invoice with my logo, a line-item table, subtotal, tax and total.” No HTML required.
Claude generates print-ready HTML/CSS with the right placeholders. Refine it visually or by chatting.
Send a small JSON payload to one endpoint and receive a pixel-perfect PDF in about two seconds.
Every other PDF API makes you write the markup or wrestle a clunky drag-and-drop editor. PaperFox lets you describe what you want — AI writes clean, print-ready HTML/CSS with the right placeholders, and you refine it visually.
You type
↓
You get a ready template
<table>
{{#each items}}
<tr>
<td>{{this.description}}</td>
<td>{{currency this.amount}}</td>
</tr>
{{/each}}
</table>
<div class="total">{{currency total}}</div>AI is used only to author templates. The generation path never calls an LLM — it's fast and identical every time.
Real headless-Chrome rendering handles fonts, multi-page tables and page breaks the way a browser would.
Skip running Chrome on your servers, cold starts and broken-layout debugging. One API call does it.
Clean REST endpoint, API keys, generation logs, and a free tier generous enough to ship with.
Start free. Upgrade as your volume grows.
Sign up, describe a template, and generate a PDF in under five minutes.
Get started free