Media
Simulate the sound of being underwater
Chame esta ferramenta a partir do seu código em três idiomas.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/audio-underwater-effect' \
-F 'file=@/path/to/audioFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/pt/api/tools/audio-underwater-effect' \
-F 'audioFile=/path/to/file.ext' \
-F 'waterType=deep' \
-F 'muffling=0.8' \
-F 'bubbleIntensity=0.3' \
-F 'pressureEffect=0.5' \
-F 'depth=10' \
-F 'mix=0.9' \
-F 'outputFormat=mp3'Envie uma requisição POST com suas entradas em JSON. Parâmetros do tipo arquivo exigem upload prévio.
POST https://api.elysiatools.com/pt/api/tools/audio-underwater-effect| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| audioFile | fileupload necessário | Sim | — |
| waterType | select | Não | Type of underwater environment. Each has different acoustic characteristics. |
| muffling | range | Não | How muffled and filtered the sound appears. Higher = more underwater, less clarity. |
| bubbleIntensity | range | Não | Amount of bubbling sounds mixed in. Higher = more active aquatic environment. |
| pressureEffect |
Adicione esta ferramenta ao seu servidor Model Context Protocol para que agentes de IA possam listá-la e chamá-la.
Adicione este bloco à configuração do seu cliente MCP:
{
"mcpServers": {
"elysiatools-audio-underwater-effect": {
"name": "audio-underwater-effect",
"description": "Simulate the sound of being underwater",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=audio-underwater-effect",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Após conectar ao endpoint SSE, liste as ferramentas expostas:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoque a ferramenta pelo seu id; os argumentos são construídos a partir de seus parâmetros:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "audio-underwater-effect",
"arguments": {
"audioFile": "https://example.com/file.ext",
"waterType": "deep",
"muffling": 0.8,
"bubbleIntensity": 0.3,
"pressureEffect": 0.5,
"depth": 10,
"mix": 0.9,
"outputFormat": "mp3"
}
}
}| range |
| Não |
| Simulates water pressure on audio. Creates subtle pitch and modulation changes. |
| depth | number | Não | Simulated water depth. Deeper = more muffled and low-pass filtered sound. |
| mix | range | Não | Balance between dry (original) and wet (underwater) signal. |
| outputFormat | select | Não | — |
Resultado de arquivo
{
"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)"
}Dúvidas ou problemas? Contate [email protected]