add_music
Mix background music into a video by looping or trimming the track to match its length, with fades and optional ducking that lowers music during speech.
Instructions
Background music (a file path), looped or cut to the video's length, faded in and out. If the video has a voice, the music gets quieter while it speaks (duck).
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": {
"video": "<video>",
"music": "<music>"
},
"name": "add_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duck | No | ||
| music | Yes | ||
| video | Yes | ||
| volume | No |