/api/v1/rendersCreate a render
Starts a render for one template version or draft revision. In sync mode the response waits for the render (up to 25 seconds) and returns 200 with the files; if it is still running, the response is 202 with a Location header to poll. In async mode the response is always 202. The same Idempotency-Key with the same body replays the original response; a different body returns 409 IDEMPOTENCY_CONFLICT. MP4 uses the selected template's saved animation by default. Send animation overrides to customize this render.
SDK studio.render(input) / studio.renderAsync(input)
Parameters
| Name | In | Type | Description |
|---|---|---|---|
Idempotency-Key required | header | string · ^[a-zA-Z0-9_-]{16,100}$ | Unique key of 16-100 characters from A-Z, a-z, 0-9, underscore or hyphen. A UUID works. Retries of the same request must reuse the key. |
Request body RenderRequest
Render page 1 with two text overrides
{
"templateId": "t3f9a2c7d1e84b6f0a5c9d3e7b2f8a41",
"version": 4,
"modifications": {
"headline": "Spring launch",
"price": "42"
},
"output": {
"format": "png",
"scale": 2,
"pages": [
1
]
}
}Queue an MP4 with request-only animation overrides
{
"templateId": "t3f9a2c7d1e84b6f0a5c9d3e7b2f8a41",
"version": 4,
"mode": "async",
"modifications": {
"headline": "Spring launch",
"price": "42"
},
"output": {
"format": "mp4",
"pages": [
1
]
},
"animation": {
"pages": [
{
"page": 1,
"preset": "cinema-cut",
"focus": "headline",
"durationMs": 3600
}
]
}
}Queue a PDF render and notify a webhook
{
"templateId": "t3f9a2c7d1e84b6f0a5c9d3e7b2f8a41",
"version": 4,
"mode": "async",
"webhookId": "e8c4a1d6f3b9e2a5c7d0f4b8a6e1c3d9",
"output": {
"format": "pdf"
}
}Responses
Example response
{
"data": {
"id": "g9b1c3d5e7f2a4b6c8d0e1f3a5b7c9d1",
"status": "succeeded",
"format": "png",
"pages": 1,
"credits": {
"available": 980,
"reserved": 0,
"spent": 20
},
"files": [
{
"id": "f4a2c6e8b0d1f3a5c7e9b2d4f6a8c0e1",
"name": "spring-launch-poster-1.png",
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"size": 184320,
"width": 1200,
"height": 1600,
"page": 1,
"url": "/api/v1/renders/g9b1c3d5e7f2a4b6c8d0e1f3a5b7c9d1/files/f4a2c6e8b0d1f3a5c7e9b2d4f6a8c0e1?token=v1.4f2c...",
"expiresAt": "2026-11-24T13:40:00.000Z"
}
]
},
"requestId": "2b7e1516-28ae-4b7d-9c3a-6f1e2d4c5b6a"
}Example response
{
"data": {
"id": "g9b1c3d5e7f2a4b6c8d0e1f3a5b7c9d1",
"status": "running"
},
"requestId": "2b7e1516-28ae-4b7d-9c3a-6f1e2d4c5b6a"
}