Send JSON. Get images.

API reference and guides for rendering design templates as PNG, JPG, WebP, AVIF, or PDF — built for integrators and agents.

POST /api/v1/render
request.json
{
  "template": "welcome_card",
  "format": "png",
  "scale": 2,
  "layers": {
    "headline": {
      "text": "Welcome, Alex"
    }
  }
}

welcome_card

Welcome, Alex

Your template, rendered.

welcome_card.png · 1600×1200

Quick start

Three steps to your first render. Full introduction · Authentication

  1. 01

    Create an API key

    In the dashboard under Integrations → API keys.

  2. 02

    POST /api/v1/render

    Send your template ID and optional layer overrides as JSON.

  3. 03

    Wait, stream, or webhook

    Block with /wait, subscribe to SSE, or get notified when the job finishes.

first-render.sh
export JSONTOIMG_BASE_URL="<your-base-url>"
export JSONTOIMG_API_KEY="sk_..."

curl -X POST "$JSONTOIMG_BASE_URL/api/v1/render?wait=60" \
  -H "Authorization: Bearer $JSONTOIMG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template":"<design-id>","format":"png"}'