jy_render
Render a Jianying draft directory to an MP4 at a specified output path without opening the editor UI, enabling headless video export.
Instructions
无头导出:不打开剪映界面,直接调剪映自己的渲染引擎把草稿渲染成 MP4。30 秒成片约 10 余秒。
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": {
"draftDir": "<draftDir>",
"outPath": "<outPath>"
},
"name": "jy_render"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | 帧率,默认 30。 | |
| size | No | 分辨率,如 1920x1080 / 1080x1920。 | |
| bitrate | No | 码率,如 12M。 | |
| outPath | Yes | 输出 MP4 路径(必填)。 | |
| draftDir | Yes | 剪映可读草稿目录(必填)。 | |
| timeoutSeconds | No | 渲染超时秒数,默认 600。 |