capcut_add_background_music
Adds background music across a CapCut draft timeline with auto-looping, fades, and automatic volume ducking under speech for clear dialogue.
Instructions
Add background music across the full timeline (auto-looping, fades, and auto-ducking volume keyframes under speech).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"draft": "<draft>",
"file": "<file>"
},
"name": "capcut_add_background_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | path to music audio file | |
| loop | No | loop music if shorter than timeline (default true) | |
| draft | Yes | ||
| volume | No | normal music volume in gaps (default 0.4) | |
| fadeInSec | No | ||
| duckVolume | No | ducked music volume under speech (default 0.12) | |
| fadeOutSec | No | ||
| trackIndex | No | ||
| duckMarginSec | No | ||
| speechTrackIndex | No | track index containing speech (default track 0) |