add_audio
Adds an audio file (music, sound effect, or voiceover) to a CapCut project, with options for timeline position, volume, and source trimming.
Instructions
Add an audio file (music, sound effect, voiceover) to the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volume | No | Volume level from 0.0 (silent) to 1.0 (full). Default 1.0. | |
| start_ms | No | Where to place the audio on the timeline (ms). Default 0. | |
| file_path | Yes | Absolute path to the audio file (MP3, WAV, AAC, FLAC, etc.). | |
| trim_end_ms | No | End trim in the source audio (ms). Use -1 for full duration. | |
| project_name | Yes | Name of the CapCut project. | |
| trim_start_ms | No | Start trim in the source audio (ms). Default 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |