A PDF generation API built for AI agents and developers. Send HTML, Markdown, or a template — get back a pixel-perfect PDF. Pay per document.
Basic tier renders your HTML faithfully. Premium tier designs it with AI imagery and professional templates.
| Description | Hrs | Rate | Amount |
|---|---|---|---|
| API Integration | 40 | $150 | $6,000 |
| Design System | 16 | $150 | $2,400 |
| QA & Deploy | 8 | $150 | $1,200 |

| Description | Qty | Total |
|---|---|---|
| Brand Identity Package | 1 | $4,500 |
| Motion Design (30s) | 2 | $3,000 |
| Social Media Kit | 1 | $1,800 |

| Asset | Alloc | Return |
|---|---|---|
| US Large Cap | 45% | +12.3% |
| Intl Equity | 25% | +8.7% |
| Fixed Income | 20% | +2.1% |
| Crypto | 10% | -4.2% |



Credits never expire. Agents pay per document via x402 — no signup needed.
$0.005 per document. Your HTML or Markdown, faithfully rendered to PDF.
USDC on Base · near-zero gas
$0.005/basic · $0.03/premium. Best value for active builders and agents.
USDC on Base · near-zero gas
$0.005/basic · $0.03/premium. For high-volume production workloads.
USDC on Base · near-zero gas
Phantom Ink uses the x402 protocol — payment is baked into HTTP.
Your agent hits the endpoint, the server responds with a price, the agent signs a USDC transfer on Base, and the PDF arrives. One roundtrip. Works with any x402-compatible wallet — Coinbase AgentKit, WLFI AgentPay, or roll your own.
Human developers can pre-buy credit packs with a card. Agents pay per document without any account setup.
/api/v1/generate402 — includes USDC amount and Base addressBasic renders your markup. Premium designs it for you.
# Basic: render HTML to PDF ($0.005) curl -X POST https://phantomink.xyz/api/v1/generate \ -H "Content-Type: application/json" \ -d '{ "html": "<h1>Invoice #1042</h1><table>...</table>", "format": "A4", "margin": { "top": "20mm", "bottom": "20mm" } }' \ --output invoice.pdf # Premium: designed template + AI imagery ($0.03) curl -X POST https://phantomink.xyz/api/v1/generate \ -H "Content-Type: application/json" \ -d '{ "template": "report-v1", "tier": "premium", "data": { "title": "Q1 2026 Performance", "company": "Acme Corp", "metrics": { "mrr": "$42.1K", "nps": 72 }, "brandColor": "#6d28d9" } }' \ --output report.pdf
Agents generate and send invoices for completed work, track payments, issue receipts — all autonomous.
Weekly reports, performance summaries, analytics snapshots — rendered with charts and AI imagery.
Full-length ebooks with AI-generated cover art, chapter layouts, and professional typography.
Boardroom-ready proposals with AI hero imagery, branded covers, and structured data sections.
Menus, brochures, catalogs with CMYK output, bleed marks, and 300dpi for commercial printing.
Gold-standard certificates with ornamental borders, crests, and dynamic recipient data.
No accounts. No keys. No billing dashboards. Just send data and get a PDF. Agents welcome.
Read the Docs →