Batch Rendering
Submit Batch
POST
/api/render/batchBatch render
Renders multiple videos from a registered template. Each batch item supplies its own variables.
Request body:
json
{
"template": "product-launch",
"overrides": { "mood": "confident" },
"batch": [
{ "headline": "Apex Launch", "tagline": "Productivity reimagined", "cta": "Try free" },
{ "headline": "Bolt Launch", "tagline": "Speed matters", "cta": "Get started" }
]
}
Response:
json
{
"batchId": "batch-abc123",
"total": 2,
"jobs": [
{ "jobId": "job-001", "status": "queued" },
{ "jobId": "job-002", "status": "queued" }
]
}
Poll Status
GET
/api/batch/:idBatch status
Returns status of all jobs in the batch.
Download individual videos with GET /api/video/:jobId once each job is complete.
Next Steps
- Batch Rendering Guide — use cases and patterns
- Templates — register templates for batch use