API

Base URL: https://web-render.com · authenticate with Authorization: Bearer wr_live_…

Create renders

POST /api/v1/renders
{
  "template": "bly-resource-ad",
  "sizes": ["1080x1080"],
  "params": {
    "cover":  { "asset": "assets/…/cover.png" },
    "line1": "STOP DOING IT ALL",
    "line2": "START FOCUSING ON\nWHAT MATTERS",
    "cta":   "{#2fd47f:GET BELAY'S} FREE GUIDE"
  }
}
→ 202 { "renders": [{ "id": "r_…", "size": "1080x1080", "status": "queued" }] }

Rich text: **bold**, *italic*, {#RRGGBB:colored text}, \n line breaks. Image params take {"asset": key} from POST /api/assets (multipart file) or a public {"url": …}.

Check status, preview & download

GET /api/v1/renders/:id        → { "status": "queued|rendering|done|error", "download": "…" }
GET /api/v1/renders/:id/file   → the MP4 (attachment)
GET /api/v1/renders/:id/stream → the MP4 (inline, supports range requests)
GET /api/v1/renders/:id/poster → preview frame (JPEG)
GET /api/v1/renders            → your recent renders

Templates

GET /api/templates             → your templates with their parameter manifests
GET /api/templates/:id         → one manifest: params, types, sizes, animations