add_media_batch
Batch import all media files from a folder into a CapCut project sequentially. Filter files by glob pattern and set image duration for efficient project setup.
Instructions
Import all media files from a folder into the project sequentially.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Glob pattern to filter files (e.g., "*.mp4", "*.jpg"). Default "*" for all media. | * |
| folder_path | Yes | Absolute path to the folder containing media files. | |
| project_name | Yes | Name of the CapCut project. | |
| image_duration_ms | No | Duration for each image clip (ms). Default 5000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |