Render a video in the cloud
render_videoExport a synced project to MP4 (H.264 or H.265) in the cloud. Returns an owned durable job immediately. When you need the finished video, call wait_for_jobs with the job's id: it waits until the render succeeds, fails or is cancelled, and answers with its download link. read_render reads its progress without waiting. The job freezes the project during preparation; its reported revision identifies the immutable snapshot rendered. Media must be uploaded and ready: a project that cannot be rendered as it is (a range outside the film, a file not ready, a film or component that does not compile) is refused at once with what to change. Rendering uses no extra credits. Edits after freezing do not change this export.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"idempotencyKey": "<idempotencyKey>",
"resolution": "<resolution>",
"fps": "<fps>",
"codec": "<codec>",
"quality": "<quality>",
"startSeconds": "<startSeconds>",
"endSeconds": "<endSeconds>",
"draft": "<draft>"
},
"name": "render_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | Yes | Frames a second of the file, usually the film's own fps attribute. | |
| codec | Yes | The file's video codec. null: H.264, which plays everywhere. H.265 makes a smaller file of the same quality. | |
| draft | Yes | true for the film you deliver at the end of a turn: the person's preview of the edit. null or false for an export the person asked for. | |
| quality | Yes | null (the render's own bitrate, about high) unless the person asks for a smaller or sharper file. Otherwise how much detail the file keeps against its size. A draft (draft true) always keeps the render's own bitrate. | |
| projectId | Yes | An owned synced project ID, or null for the open project. | |
| endSeconds | Yes | Range end in seconds, or null for the whole film. | |
| resolution | Yes | Output resolution: use 1080p for the video you deliver to the person (720p on Free, 2160p for 4K); 540p is only for quick internal checks. Free allows up to 720p at 30 fps with a watermark. A free trial allows up to 1080p at 30 fps with no watermark. Paid plans and a project with a Project Pass allow up to 2160p at 60 fps. A size or frame rate above the plan's is made at the plan's largest instead, and the answer says so. | |
| startSeconds | Yes | Range start in seconds, or null for the whole film. Both range endpoints must be present or both null. | |
| idempotencyKey | Yes | A UUID for this export. Reuse it to safely repeat submission; use a new UUID for another export. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| notes | No | ||
| phase | Yes | ||
| output | No | ||
| status | Yes | ||
| endCard | No | ||
| artifact | Yes | ||
| attempts | Yes | ||
| branchId | Yes | ||
| loudness | No | ||
| progress | Yes | ||
| revision | Yes | ||
| admission | No | ||
| createdAt | Yes | ||
| errorCode | Yes | ||
| projectId | Yes | ||
| streamUrl | No | ||
| updatedAt | Yes | ||
| resolution | Yes | ||
| totalFrames | Yes | ||
| errorMessage | No | ||
| phaseProgress | Yes | ||
| framesCompleted | Yes | ||
| componentFailures | No |