Skip to main content

Audio Trim Silence

Snapshot Catalog Entry

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

POSTffmpeg.audio_trim_silence

Execute ffmpeg.audio_trim_silence through the broker.

Request Body

{
"jsonrpc": "2.0",
"id": "ffmpeg-audio-trim-silence-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.audio_trim_silence",
"arguments": {
"asset_id": "asset_id_123",
"output_format": "output_format_example",
"min_silence_sec": "",
"threshold_db": "",
"trim_leading": "",
"trim_trailing": "",
"bitrate": "",
"priority": ""
}
}
}

Arguments Schema

{
"properties": {
"asset_id": {
"type": "string"
},
"output_format": {
"type": "string"
},
"min_silence_sec": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"threshold_db": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"trim_leading": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"trim_trailing": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"bitrate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"priority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"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-trim-silence-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.audio_trim_silence",
"arguments": {
"asset_id": "asset_id_123",
"output_format": "output_format_example",
"min_silence_sec": "",
"threshold_db": "",
"trim_leading": "",
"trim_trailing": "",
"bitrate": "",
"priority": ""
}
}
}'

Example Responses

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