jianying_create_draft
Create a new JianYing draft with a set name, canvas size, and frame rate. When width and height are omitted, the canvas adopts the first video's resolution.
Instructions
Create a new JianYing draft and return its structure. Set width/height to match the source footage (1080x1920 for 9:16 vertical, 1920x1080 for 16:9). When omitted, the canvas adopts the first video's resolution automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Frame rate (default 30) (a number, or a numeric string such as "1") | |
| name | Yes | Draft name | |
| width | No | Canvas width (a number, or a numeric string such as "1") | |
| height | No | Canvas height (a number, or a numeric string such as "1") | |
| overwrite | No | Replace an existing draft with the same name. Off by default, because overwriting discards the existing project. | |
| draftsRoot | No | Override the drafts root directory |