Skip to content
jsontoimg
Start free
NewSheets, Klaviyo, and stacked layouts

Automate images and PDFs from one design.

Make the picture once in J2I Studio. When a name, a photo, or a price changes, this image automation API fills those spots and sends back a PNG, JPG, WebP, AVIF, or PDF.

25 free API images · No card required

Try the image API

  1. 01Send JSON
  2. 02Fill named layers
  3. 03Get PNG or PDF
POST/api/v1/render
{
"template": "tpl_og_editorial",
"format": "png",
"layers": {
"title": {
},
"badge": {
},
"author": {
}
}
}
Edit any green value — the canvas updates live
  • REST
  • TS SDK
  • MCP
  • n8n
200image/png·1200 × 630
Open the Open Graph generator →
J2I Studio · Free Tier

Want Signed URLs and live cURL endpoints?

If you want these features, try out J2I Studio — it is free for up to 25 API images, with no credit card required.

  • 25 free API images — lifetime free tier, no card needed
  • Signed CDN URLs & cURL — drop straight into og:image or backend jobs
  • J2I Studio editor — design once, lock brand styles, and render via REST or MCP
Sign in to J2I Studio

What is jsontoimg?

jsontoimg is a developer-first API that generates images and multi-page PDFs from templates you design once. Name the layers that change, send JSON over REST, the TypeScript SDK, or MCP, and get a finished asset back with no Chromium fleet to maintain.

Image API

Ask for one image.

The request is POST /api/v1/render. You can wait up to 30 seconds for the file, watch progress as it is made, or get a signed notice when it is done.

curl -X POST "https://app.jsontoimg.com/api/v1/render?wait=30" \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "template": "tpl_og_brutalist",
    "format": "png",
    "scale": 2,
    "layers": {
      "badge": { "text": "Engineering" },
      "title": { "text": "Design once. Render every row." },
      "subtitle": { "text": "Turn structured JSON into crisp PNG, WebP, and PDF assets at scale." },
      "author": { "text": "Maya Chen" }
    }
  }'
Live JSON payload
200image/pngog-design-once.png
Neo-Brutal · Cobalt TintOpen the Neo-Brutal generator →
  • We make the file for you

    jsontoimg creates the image. You do not run a browser on your own server to take screenshots.

    Template-based image generation API
  • A link to the picture

    Put the link in an img tag or in og:image, the preview people see when a page is shared. Opening it the first time counts as one image. Later opens are free.

    Signed URL guide
  • PNG, JPG, WebP, AVIF

    Choose the file type, and a size up to 5× larger, on the same request. PNG, WebP, and AVIF can keep a transparent background.

    Image formats

PDF and data layers

The same design can be a PDF.

A certificate, event ticket, badge, or report can use the design you already made. Ask for a PDF. Each page costs the same as one image.

layers.jsonPDFA4
{
"template": "8d3df4de-cbe7-406b",
"format": "pdf",
"layers": {
"status": { "text": "PAID" },
"items": {
"columns": [
{ "key": "item", "label": "Description" },
{ "key": "qty", "label": "Qty", "align": "right" },
{ "key": "amount", "label": "Amount", "align": "right" }
],
"rows": [
{ "item": "Starter plan (1,000)", "qty": 1, "amount": "$29.00" },
{ "item": "Prepaid pack (250)", "qty": 2, "amount": "$10.00" },
{ "item": "Webhook & PDF delivery", "qty": 1, "amount": "$0.00" }
],
"striped": true
},
"verify_qr": { "text": "https://jsontoimg.com" }
}
}
  • Tables

    Send the headings and the lines, up to 12 columns wide. An invoice can list each item, the quantity, and the price.

    Tables on the canvas
  • Charts, QR codes, barcodes

    Send numbers and get a chart. Send a code and get a QR code or a barcode (Code 128, EAN-13, or Code 39) drawn on the file.

    Charts and barcodes
  • Lists that grow

    A list in the details, such as the line items on an invoice, can add more lines on the page. Rules can also switch a color or a layout when a condition is true.

    PDF generation

Template editor

Name the spots that change.

In J2I Studio you place text, photos, QR codes, charts, and tables. Name only the spots the API may change. The logo and the background stay put.

J2I Studio editing an Open Graph card template
  • A typo is reported

    GET /templates/{id}/schema lists the names you created. If a request uses a name that does not exist, the API returns HTTP 422 instead of a picture with a blank line.

    Template schema
  • The live design stays approved

    You can keep editing a draft. Visitors keep getting the version you already approved.

    Pin a version
  • Shared colors, fonts, and logos

    A workspace can share those with up to 10 people: an owner, admins, and members.

    Visual template editor

Integrations

Send the details from tools you already use.

Anything that can send a web request can ask for an image. A coding assistant can do it too, through the MCP server.

No-code & CMS automation

A spreadsheet, WordPress, n8n, or a webhook can send the name, photo, or price.

Connect over HTTP & signed webhooks

  • Zapier (HTTP)
  • Make (HTTP)
  • Webhooks
  • Shopify
  • GitHub Actions
  • REST
  • CLI
Image generation integrations

AI agents, over MCP

Point Claude, Cursor, or VS Code at the MCP server. The assistant lists your templates and asks for a picture, using only designs you already approved. Eleven tools cover that work.

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
MCP server for image generation

Use cases

The same design, a new picture each time.

Change the words and the photo. The layout stays.

Pricing

25 images free, then a price per file.

Studio, all formats, and prepaid packs from $5 that never expire. Failed renders are free. See pricing or the API pricing comparison.

One image is one PNG, JPG, WebP, AVIF, or one PDF page

  • Free

    $0no card

    25 API images, lifetime

    1 API key, 50 MB storage

  • StarterPopular

    $29/month

    1,000 images

    1 API key, 1 GB storage

  • Pro

    $59/month

    5,000 images

    5 API keys, 5 GB storage

  • Scale

    $129/month

    15,000 images

    10 API keys, 20 GB storage

Questions about credits, files, and plans.

For help with a design or a large batch, write through the contact page.

What is an image automation API?

It makes a finished picture or PDF from a design you create once. You send the parts that change, such as a name, a photo, or a price. jsontoimg returns the file. Your software can ask for that file through the API, so nobody exports it by hand.

What do I send?

You send the details as JSON. JSON is text a program can read, like {"headline": "Welcome, Alex"}. A certificate needs the student name. A banner needs the product and the price. Code, a spreadsheet, WordPress, n8n, or an AI assistant can send it. You can also try our free browser image tools without writing code.

What counts as an image?

One credit is one successful PNG, JPG, WebP, or AVIF, or one PDF page, at any size your plan allows. Work in the editor and watermarked previews are free. A picture that fails to generate does not count.

Do prepaid images expire?

Prepaid packs never expire. Monthly images reset each billing period and do not roll over. Cancelling a subscription leaves the prepaid balance on the account.

Can I cancel anytime?

Monthly access continues through the paid period. Prepaid images stay on the account.

What happens when I hit the image limit?

Rendering stops until you upgrade or buy a prepaid pack. Prepaid images also work as overflow on a monthly plan. The API returns HTTP 402.

Do WebP, AVIF, PDF, or a higher scale cost extra?

PNG, JPG, WebP, AVIF, and scale up to your plan cap do not cost extra. PDF is one image per page. Free scales to 2×, Starter to 3×, Pro to 4×, and Scale to 5×.

How long do you keep the files?

Free files stay 3 days, prepaid 7 days, Starter 14 days, Pro 30 days, and Scale 90 days. After that they move to a 14-day archive and are deleted. Files you upload stay until you delete them, inside the storage limit for your workspace.

Your first 25 images are free.

Design the picture, create an API key, and download a PNG or PDF.