mixVideoAudio
Attach background audio to a video
Configure audio mixing or replacement on an unpublished video. The existing video publisher renders the mix during publishing; this does not return a pre-rendered preview. Original video duration is preserved. Audio must be a hosted file in your own media library. Scheduled videos will use the changed audio, so confirm before editing.
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": {
"videoId": "<videoId>",
"audioUrl": "<audioUrl>"
},
"name": "mixVideoAudio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | mix | |
| fadeIn | No | ||
| videoId | Yes | ||
| audioUrl | Yes | ||
| loopAudio | No | ||
| trackName | No | ||
| audioVolume | No | ||
| audioStartTime | No | ||
| originalVolume | No | ||
| videoStartTime | No |