attach_audio
Attach an audio clip to a video, either replacing its existing audio or mixing both tracks.
Instructions
Set or mix an audio track onto a video clip.
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_clip_id": "<video_clip_id>",
"audio_clip_id": "<audio_clip_id>"
},
"name": "attach_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio_clip_id | Yes | The audio clip to attach. | |
| video_clip_id | Yes | The video to receive audio. | |
| mix_with_existing | No | If True and the video already has audio, mix both; if False, replace the existing track. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||