Media
Stellt einen kurzen Podcast-Trailer aus Intro-Musik, bis zu 5 Highlight-Clips, Musik-Bett und einem Lautheitsziel zusammen.
Rufen Sie dieses Werkzeug aus Ihrem Code in drei Sprachen auf.
# 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/de/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'Senden Sie eine POST-Anfrage mit Ihren Eingaben als JSON. Dateiparameter erfordern einen vorherigen Upload.
POST https://api.elysiatools.com/de/api/tools/audio-podcast-trailer-builder| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| introMusic | fileUpload nötig | Ja | — |
| clip1 | fileUpload nötig | Ja | — |
| clip2 | fileUpload nötig | Nein | — |
| clip3 | fileUpload nötig | Nein | — |
| clip4 | fileUpload nötig | Nein | — |
| clip5 | fileUpload nötig | Nein | — |
| clipDuration | number | Nein | — |
| crossfade | number | Nein | — |
| musicUnderClips | number | Nein | — |
| targetLufs | number | Nein | — |
| outputFormat | select | Nein | — |
Dateiergebnis
{
"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)"
}Fügen Sie dieses Werkzeug Ihrem Model-Context-Protocol-Server hinzu, damit KI-Agenten es auflisten und aufrufen können.
Fügen Sie diesen Block Ihrer MCP-Client-Konfiguration hinzu:
{
"mcpServers": {
"elysiatools-audio-podcast-trailer-builder": {
"name": "audio-podcast-trailer-builder",
"description": "Stellt einen kurzen Podcast-Trailer aus Intro-Musik, bis zu 5 Highlight-Clips, Musik-Bett und einem Lautheitsziel zusammen.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=audio-podcast-trailer-builder",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Nach dem Verbinden mit dem SSE-Endpunkt listen Sie die bereitgestellten Werkzeuge auf:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Rufen Sie das Werkzeug über seine ID auf; Argumente werden aus seiner Parameterliste gebildet:
{
"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"
}
}
}Fragen oder Probleme? Kontakt: [email protected]