add_audio
Add or replace a video's audio track with an external audio file, optionally adjusting the volume for the new soundtrack.
Instructions
Add or replace the audio track of a video.
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": {
"input_path": "<input_path>",
"audio_path": "<audio_path>"
},
"name": "add_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volume | No | ||
| audio_path | Yes | ||
| input_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||