export_clip
Render a video or audio clip to a file on disk. Use the output path's extension to set container; optional fps, codec, and bitrate.
Instructions
Render a clip to disk. THIS is the step that writes a file.
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": {
"clip_id": "<clip_id>",
"output_path": "<output_path>"
},
"name": "export_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frames per second for video (defaults to source fps or 24). | |
| codec | No | Optional codec override (e.g. 'libx264', 'libvpx'). | |
| bitrate | No | Optional bitrate (e.g. '4000k'). | |
| clip_id | Yes | The clip to render. | |
| output_path | Yes | Destination path. Extension picks the container: .mp4/.webm/.gif for video, .mp3/.wav/.ogg for audio. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||