Render video
render_videoRender the project to an MP4 on Morpha's servers, for an agent that has no browser to drive (a chat app, a Linux box). Returns { renderId, status: 'rendering', next } — call render_status with that renderId after about 30 seconds. It needs a subscription and draws on the account's render allowance, so a longer composition and a larger scale each use more of it. The editor renders the same MP4 with no allowance: every project result carries an editorUrl, and there the person can choose Share, then Download (Render MP4 on a phone), free and with no watermark. Renders at 2x the canvas by default, the same as the editor; pass scale: 1 for the canvas's own size, which is faster and uses less allowance. The allowance is checked before the render starts, so a render that would exceed it is refused up front rather than failing partway. Refused for a composition longer than 30 minutes, when the remaining allowance will not cover it, or while 3 renders are already running for this account. The finished file stays downloadable for 7 days, then it is deleted; the project stays and can be rendered again. The render downloads the project's fonts from their hosts, including a custom font's own URL (set_custom_font). Reference: https://morphareels.ai/docs/tools#rendervideopage-scale
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional 0-based page index for a multi-page project. Omit for the project's active page; render one page per call. | |
| scale | No | Optional output scale: 2 (the default) renders at twice the canvas, roughly 4K for a portrait project; 1 renders at the canvas's own size for a faster file that uses less allowance. Nothing else is accepted. | |
| projectId | Yes | Project to render. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the call succeeded. | |
| data | No | The payload, shaped by the tool. | |
| note | No | What to do next when not ready. | |
| error | No | Why it failed. | |
| status | No | For cache-backed readers: whether the answer was ready. | |
| editorUrl | No | Opens this project in the editor. |