Skip to content
jsontoimg
Start free

PDF Generation APIThe same template. A PDF when it prints.

Set format to pdf on POST /api/v1/render. Multi-page templates become multi-page PDFs billed one credit per page — the exact same rate as a PNG.

25 free API images. No card required.

layers.jsonformat: "pdf"
{
"line_items": {
"columns": ["Item", "Qty", "Amount"],
"rows": [
["Starter plan (1,000)", "1", "$29.00"],
["Prepaid pack (250)", "1", "$5.00"],
["Setup", "1", "$0.00"]
],
"striped": true
},
"verify_qr": { "text": "INV-2026-0142", "format": "qrcode" },
"total_due": { "text": "$34.00" }
}

How it works.

  1. 01

    Add pages on the canvas

    Build single-page certificates, tickets, and badges or multi-page visual reports in J2I Studio.

  2. 02

    Set format: "pdf"

    Send the exact same named-layer JSON override body you use for PNG or WebP.

  3. 03

    Print-ready output

    Download via signed assetUrl or deliver to your customer on completion webhook.

Capabilities

Built for production payloads.

  • One credit per page

    A one-page certificate costs one credit, identical to a PNG. A three-page report costs three credits. Failed renders are free.

  • Tables, charts, and codes

    Header, striped, and bordered tables (up to 12 columns), eight chart types, and QR or barcode layers render crisply inside the PDF.

  • Honest scope

    Invoices requiring arbitrary CSS pagination, fillable PDF forms, or e-signatures belong in an HTML document engine. jsontoimg prints the canvas you drew.

curl
curl -X POST "https://app.jsontoimg.com/api/v1/render?wait=60" \
  -H "Authorization: Bearer $JSONTOIMG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template":"YOUR_TEMPLATE_ID","format":"pdf","layers":{"recipient":{"text":"Ada Lovelace"}}}'

No-code & CMS automation

Render an image or a PDF for every spreadsheet row, WordPress post, or webhook event.

Connect over HTTP & signed webhooks

  • Zapier (HTTP)
  • Make (HTTP)
  • Webhooks
  • Shopify
  • GitHub Actions
  • REST
  • CLI
See all integrations

AI agents, over MCP

Point your assistant at /mcp. Eleven tools around templates, schemas, and renders.

https://app.jsontoimg.com/mcp

$ claude mcp add --transport http jsontoimg https://app.jsontoimg.com/mcp

> Render an Open Graph card for our v1.4 release post

✓ list_templates · 8 templates

✓ get_template_schema · headline, author, version_tag

✓ create_render · release-v1-4.png

  • Cursor
  • Claude Code
  • Claude Desktop
  • VS Code
  • Windsurf
Set up the MCP server

Your first 25 images are on us.

Design a template, grab an API key, and render your first PNG or PDF in minutes. No card required.