Media
Assemble a short podcast trailer from intro music, up to 5 highlight clips, a music bed under the clips, and a loudness target.
Call this tool from your code in three languages.
# 1) Request a presigned URL → returns { uploadUrl, storageKey }
curl -X POST 'https://api.elysiatools.com/api/upload/presign/audio-podcast-trailer-builder' \
-H 'Content-Type: application/json' \
-d '{"filename":"introMusic.ext","contentType":"application/octet-stream","size":12345}'
curl -X POST 'https://api.elysiatools.com/api/upload/presign/audio-podcast-trailer-builder' \
-H 'Content-Type: application/json' \
-d '{"filename":"clip1.ext","contentType":"application/octet-stream","size":12345}'
curl -X POST 'https://api.elysiatools.com/api/upload/presign/audio-podcast-trailer-builder' \
-H 'Content-Type: application/json' \
-d '{"filename":"clip2.ext","contentType":"application/octet-stream","size":12345}'
curl -X POST 'https://api.elysiatools.com/api/upload/presign/audio-podcast-trailer-builder' \
-H 'Content-Type: application/json' \
-d '{"filename":"clip3.ext","contentType":"application/octet-stream","size":12345}'
curl -X POST 'https://api.elysiatools.com/api/upload/presign/audio-podcast-trailer-builder' \
-H 'Content-Type: application/json' \
-d '{"filename":"clip4.ext","contentType":"application/octet-stream","size":12345}'
curl -X POST 'https://api.elysiatools.com/api/upload/presign/audio-podcast-trailer-builder' \
-H 'Content-Type: application/json' \
-d '{"filename":"clip5.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/en/api/tools/audio-podcast-trailer-builder' \
-F 'introMusic=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'clip1=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'clip2=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'clip3=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'clip4=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'clip5=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'clipDuration=8' \
-F 'crossfade=0.3' \
-F 'musicUnderClips=-18' \
-F 'targetLufs=-16' \
-F 'outputFormat=mp3'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/audio-podcast-trailer-builder| Name | Type | Required | Description |
|---|---|---|---|
| introMusic | fileupload required | Yes | — |
| clip1 | fileupload required | Yes | — |
| clip2 | fileupload required | No | — |
| clip3 | fileupload required | No | — |
| clip4 | fileupload required | No | — |
| clip5 | fileupload required | No | — |
| clipDuration | number | No | — |
| crossfade | number | No | — |
| musicUnderClips | number | No | — |
| targetLufs | number | No | — |
| outputFormat | select | No | — |
File result
{
"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)"
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-audio-podcast-trailer-builder": {
"name": "audio-podcast-trailer-builder",
"description": "Assemble a short podcast trailer from intro music, up to 5 highlight clips, a music bed under the clips, and a loudness target.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=audio-podcast-trailer-builder",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "audio-podcast-trailer-builder",
"arguments": {
"introMusic": "https://example.com/file.ext",
"clip1": "https://example.com/file.ext",
"clip2": "https://example.com/file.ext",
"clip3": "https://example.com/file.ext",
"clip4": "https://example.com/file.ext",
"clip5": "https://example.com/file.ext",
"clipDuration": 8,
"crossfade": 0.3,
"musicUnderClips": -18,
"targetLufs": -16,
"outputFormat": "mp3"
}
}
}Questions or issues? Contact [email protected]