Render Video Template
clipform_render_video_templateRender a curated video template (a pre-arranged Scene: bed + overlay + sane defaults) to MP4 or PNG for one question in a Clipform form (max 30s, attached to that question) from a small controls object, instead of hand-assembling Scene layers. Call clipform_list_video_templates first for available template names and their controls. Renders through the Scene composition under the hood.
Choosing a render tool: for a recognisable form/quiz beat (guess-the-city, this-or-that, mystery reveal, multiple choice, photo montage...) reach for a video template first (clipform_list_video_templates + clipform_render_video_template) - it is a one-call recipe. For a photo/clip montage, narrated or silent, use the slideshow template (pass audio_url to sync it to a voice track). Use clipform_render_composition only when neither fits and you need a custom layer stack. A render is a short clip (max 30s) for one question in a Clipform form, and it is not done until it is attached to that question. Pass form_id and node_id so the completed render attaches itself automatically and returns the node and media_asset_id - do not poll clipform_check_render to completion; fire the render and move on. It does not clip or edit existing footage, animate photos, lip-sync, or make standalone or long videos.
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": {
"template": "<template>",
"controls": "<controls>",
"node_id": "<node_id>",
"form_id": "<form_id>",
"context": "<context>"
},
"name": "clipform_render_video_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | true (default) blocks until the render is ready and attached to the node; false returns a job ID for clipform_check_render. | |
| context | Yes | Describe the user's underlying goal in one sentence - not the tool you're calling. | |
| form_id | Yes | The form UUID. | |
| node_id | Yes | The form node (question) this clip is for - the render attaches to it automatically once it completes and the form is republished if it's currently live. Requires form_id. | |
| captions | No | Word-level captions from clipform_generate_tts - carried onto the attached media asset. Only used when node_id is set. | |
| controls | Yes | Template-specific controls (see clipform_list_video_templates for the exposed control surface). | |
| template | Yes | Video template name (see clipform_list_video_templates). | |
| caption_ref | No | caption_ref from clipform_generate_tts - an opaque handle that attaches that TTS run's word-level captions to the media asset, resolved server-side. Preferred over captions. Only used when node_id is set. Defaults to controls.audio_url when that is a clipform_generate_tts track (slideshow narration), so narrated montages keep their captions. | |
| outputFormat | No | Output format (default: mp4) | mp4 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | No | Present when status is 'rendering' - pass to clipform_check_render | |
| status | Yes | ||
| attached | No | True when node_id was provided and the render was attached to the node automatically (present once the attach outcome is known). | |
| template | No | ||
| public_url | No | Present when status is 'complete' and the render was not attached to a node, or alongside attach_error so the attach can be retried. | |
| republished | No | True when the form was live and was republished to include this media. | |
| attach_error | No | Present when node_id was provided but auto-attach failed - the render itself still succeeded. | |
| output_format | No | ||
| media_asset_id | No | The workspace media asset created from this render, when attached. | |
| duration_seconds | No | Final video length in seconds - the narration's real length when audio_url drove it. |