Media
Рендерит настоящий сайдчейн-компрессию через двухвходовый sidechaincompress FFmpeg: фильтрует триггер, управляет огибающей (атака/восстановление/колено/связь/микс) и отдаёт файл вместе с измеренной величиной подавления.
Вызовите этот инструмент из своего кода на трёх языках.
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/sidechain-compressor-pro' \
-H 'Content-Type: application/json' \
-d '{"filename":"musicFile.ext","contentType":"application/octet-stream","size":12345}'
curl -X POST 'https://api.elysiatools.com/api/upload/presign/sidechain-compressor-pro' \
-H 'Content-Type: application/json' \
-d '{"filename":"triggerFile.ext","contentType":"application/octet-stream","size":12345}'
# 2) PUT the file bytes directly to the presigned uploadUrl
curl -X PUT '<presigned uploadUrl>' \
--data-binary @/path/to/file.ext
# 3) Call the tool, passing the returned storageKey for each file field
curl -X POST 'https://api.elysiatools.com/ru/api/tools/sidechain-compressor-pro' \
-F 'musicFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'triggerFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'preset=kick-duck-bass' \
-F 'thresholdDb=-20' \
-F 'ratio=5' \
-F 'attackMs=4' \
-F 'releaseMs=60' \
-F 'makeupDb=0' \
-F 'knee=2.8' \
-F 'levelScDb=0' \
-F 'detection=rms' \
-F 'link=average' \
-F 'mixPercent=100' \
-F 'scHighpassHz=0' \
-F 'scLowpassHz=0' \
-F 'outputFormat=wav'Отправьте POST-запрос с входными данными в JSON. Параметры типа «файл» требуют предварительной загрузки.
POST https://api.elysiatools.com/ru/api/tools/sidechain-compressor-pro| Имя | Тип | Обязательный | Описание |
|---|---|---|---|
| musicFile | fileнужна загрузка | Да | — |
| triggerFile | fileнужна загрузка | Да | — |
| preset | select | Да | — |
| thresholdDb | number | Да | — |
| ratio | number | Да | — |
| attackMs | number | Да | — |
| releaseMs | number | Да | — |
| makeupDb | number | Да | — |
| knee | number | Да | — |
| levelScDb | number | Да | — |
| detection | select | Да | — |
| link | select | Да | — |
| mixPercent | number | Да | — |
| scHighpassHz | number | Да | — |
| scLowpassHz | number | Да | — |
| outputFormat | select | Да | — |
Файловый результат
{
"filePath": "/public/processing/randomid.ext",
"fileName": "output.ext",
"contentType": "application/octet-stream",
"size": 1024,
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Добавьте этот инструмент на свой сервер Model Context Protocol, чтобы ИИ-агенты могли перечислять и вызывать его.
Добавьте этот блок в конфигурацию вашего MCP-клиента:
{
"mcpServers": {
"elysiatools-sidechain-compressor-pro": {
"name": "sidechain-compressor-pro",
"description": "Рендерит настоящий сайдчейн-компрессию через двухвходовый sidechaincompress FFmpeg: фильтрует триггер, управляет огибающей (атака/восстановление/колено/связь/микс) и отдаёт файл вместе с измеренной величиной подавления.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=sidechain-compressor-pro",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}После подключения к SSE-endpoint выведите список доступных инструментов:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Вызовите инструмент по его id; аргументы формируются из его параметров:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "sidechain-compressor-pro",
"arguments": {
"musicFile": "https://example.com/file.ext",
"triggerFile": "https://example.com/file.ext",
"preset": "kick-duck-bass",
"thresholdDb": -20,
"ratio": 5,
"attackMs": 4,
"releaseMs": 60,
"makeupDb": 0,
"knee": 2.8,
"levelScDb": 0,
"detection": "rms",
"link": "average",
"mixPercent": 100,
"scHighpassHz": 0,
"scLowpassHz": 0,
"outputFormat": "wav"
}
}
}Вопросы или проблемы? Свяжитесь с [email protected]