Skip to content
jsontoimg
Start free

Generate

PDF Generation

POST /api/v1/render with "format": "pdf". Multi-page templates become a multi-page PDF.

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":"pdf"}'

Each PDF page uses one image credit. transparent is not valid with PDF. Layer overrides work the same as image generation.

Wait, batch, and webhooks apply to PDF jobs too.

Try the request in the API reference.