capcut_add_video_clip
Add a video or photo segment to a CapCut timeline, choosing main or overlay tracks and optional AI background removal for portrait cutouts.
Instructions
Add a video or photo segment to the CapCut timeline.
smart_cutout: If True, activates CapCut's native AI portrait background removal (flag: 3). CapCut will automatically strip the background when opened or exported.
track_index: 0 for primary track, 1 for overlay/B-roll track.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| start_ms | No | ||
| draft_name | Yes | ||
| video_path | Yes | ||
| duration_ms | No | ||
| track_index | No | ||
| transform_x | No | ||
| transform_y | No | ||
| smart_cutout | No | ||
| source_start_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |