generate_capcut_draft
Create directly importable CapCut Desktop/Jianying Pro draft project files from video clips and audio tracks, eliminating manual timeline setup.
Instructions
Generate native CapCut Desktop draft_content.json and draft_meta_info.json project files.
Directly importable into CapCut Desktop / Jianying Pro without manual timeline setup.
Args: project_name: Name of the project (e.g. 'TikTok_Highlights_01'). clips: List of video clip definitions with 'path', optional 'start_sec', 'end_sec', 'speed', 'volume'. audio_tracks: Optional list of background music or sound effects with 'path', 'timeline_start_sec', 'volume'. output_dir: Base directory where project will be saved. Defaults to CapCut's native drafts directory. width: Canvas width (default: 1080). height: Canvas height (default: 1920). fps: Timeline frame rate (default: 30.0). ratio: Aspect ratio ('9:16', '16:9', '1:1', 'original').
Returns: JSON string with project directory, JSON file paths, timeline duration, and opening instructions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| clips | Yes | ||
| ratio | No | 9:16 | |
| width | No | ||
| height | No | ||
| output_dir | No | ||
| audio_tracks | No | ||
| project_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |