Skip to main content

Audio Mix With Background

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTffmpeg.audio_mix_with_background

Execute ffmpeg.audio_mix_with_background through the broker.

Request Body

{
"jsonrpc": "2.0",
"id": "ffmpeg-audio-mix-with-background-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.audio_mix_with_background",
"arguments": {
"voice_asset_id": "voice_asset_id_123",
"music_asset_id": "music_asset_id_123",
"output_format": "output_format_example",
"ducking": "",
"ratio": "",
"threshold": "",
"attack_ms": "",
"release_ms": "",
"music_gain": "",
"voice_gain": ""
}
}
}

Arguments Schema

{
"properties": {
"voice_asset_id": {
"type": "string"
},
"music_asset_id": {
"type": "string"
},
"output_format": {
"type": "string"
},
"ducking": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"ratio": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"threshold": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"attack_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"release_ms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"music_gain": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"voice_gain": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"bitrate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"priority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"voice_asset_id",
"music_asset_id"
],
"type": "object"
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ffmpeg-audio-mix-with-background-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.audio_mix_with_background",
"arguments": {
"voice_asset_id": "voice_asset_id_123",
"music_asset_id": "music_asset_id_123",
"output_format": "output_format_example",
"ducking": "",
"ratio": "",
"threshold": "",
"attack_ms": "",
"release_ms": "",
"music_gain": "",
"voice_gain": ""
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ffmpeg.audio_mix_with_background executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}