add_audio
Add or replace an audio track in a video, choosing to mix it with the original audio or replace it entirely; set the added audio's volume as needed.
Instructions
Add or replace audio track in video. Mix with original audio or replace entirely.
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>",
"audio": "<audio>"
},
"name": "add_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | replace: remove original audio; mix: overlay with original | replace |
| audio | Yes | Audio file to add/overlay | |
| video | Yes | Input video file path | |
| output | No | Output file path | |
| volume | No | Volume of the added audio (0-2) |