Renders API
Create, inspect, list, cancel, and dry-run validate video renders.
Endpoints
| Method & Path | Purpose |
|---|---|
| POST /renders | Queue a render. Honors optional Idempotency-Key header (returns 200 on replay, 201 on create). |
| GET /renders/{id} | Return status, progress (0–100), duration, billed seconds, output_url, output_expired, error, and metadata. |
| GET /renders?limit=20&cursor= | List your renders newest first with cursor pagination (limit 1–100). |
| DELETE /renders/{id} | Cancel a queued render and release reserved credits. Returns 409 cannot_cancel once claimed. |
| POST /renders/validate | Dry run: validates payload and plan limits and estimates duration and minute cost. |
Payload fields
| Field | Type | Details |
|---|---|---|
| format | string (required) | "16:9", "9:16", or "1:1" |
| resolution | string | "720p" (default) or "1080p". Free plan allows 720p; test keys force 480p. |
| fps | integer | 24, 25, or 30 (default 30) |
| preset | string | "documentary", "short", or "none" (default) |
| scenes | Scene[] (required) | 1 to 1,000 scenes. See Scenes guide for all scene fields. |
| music | object | { src, volume?: 0..1, ducking?: boolean } |
| subtitles | object | { enabled: boolean, style?: string (<= 64 chars) } |
| webhook_url | https URL | Optional per-render HTTPS callback URL (overrides default webhook URL). |
| metadata | object | Arbitrary JSON object (≤ 4 KB UTF-8), returned on GET and webhooks. |
Status lifecycle & render object
Renders move through queued → downloading → rendering → uploading → done | failed | canceled.
GET /api/v1/renders/{id} — 200 OK
{ "id": "8c5f6c1a-4b7d-4e92-9f21-3a0d8f21b41e", "status": "done", "progress": 100, "mode": "live", "estimated_seconds": 12, "duration_seconds": 11.84, "billed_seconds": 12, "output_url": "https://storage.example.com/signed/render.mp4", "output_expired": false, "error": null, "metadata": { "episode": 42 }, "created_at": "2026-11-26T10:30:00.000Z", "started_at": "2026-11-26T10:30:02.000Z", "finished_at": "2026-11-26T10:30:19.000Z"}While within your plan's retention period (7 days on Free/Starter, 30 days on Pro/Scale), each request generates a fresh presigned output_url valid for 1 hour. Once retention expires, the file is automatically purged and the API returns "output_url": null and "output_expired": true.
Dry-run validation
curl -X POST https://reelpipe.dev/api/v1/renders/validate \ -H "Authorization: Bearer rk_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"format":"16:9","resolution":"1080p","scenes":[{"type":"image","src":"https://reelpipe.dev/samples/alpine-ridge.jpg","duration":10}]}'POST /api/v1/renders/validate — 200 OK
{ "valid": true, "errors": [], "estimated_seconds": 10, "estimated_cost_minutes": 0.17}List & cancel
# List renders (cursor-paginated, limit 1..100, default 20)curl "https://reelpipe.dev/api/v1/renders?limit=20" -H "Authorization: Bearer rk_live_YOUR_KEY" # Cancel a queued rendercurl -X DELETE https://reelpipe.dev/api/v1/renders/RENDER_ID -H "Authorization: Bearer rk_live_YOUR_KEY"