Media
Convert multiple WAV files to OGG, AAC, M4A, and OPUS formats with quality settings, bitrate control, and batch processing
Call this tool from your code in three languages.
# 1) Upload each file first → returns { filePath }
curl -X POST 'https://api.elysiatools.com/upload/batch-wav-converter' \
-F 'file=@/path/to/wavFiles.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/batch-wav-converter' \
-F 'wavFiles=/path/to/file.ext' \
-F 'outputFormat=mp3' \
-F 'bitrate=e.g., 128k, 192k, 320k (optional)' \
-F 'quality=5' \
-F 'sampleRate=auto' \
-F 'channels=auto' \
-F 'preserveMetadata=true' \
-F 'keepOriginalNames=true'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/batch-wav-converter| Name | Type | Required | Description |
|---|---|---|---|
| wavFiles | fileupload required | Yes | — |
| outputFormat | select | Yes | — |
| bitrate | text | No | — |
| quality | number | No | — |
| sampleRate | select | No | — |
| channels | select | No | — |
| preserveMetadata | checkbox | No | — |
| keepOriginalNames | checkbox | No | Preserve original filenames. Duplicate names will be automatically renamed with a suffix. |
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-batch-wav-converter": {
"name": "batch-wav-converter",
"description": "Convert multiple WAV files to OGG, AAC, M4A, and OPUS formats with quality settings, bitrate control, and batch processing",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=batch-wav-converter",
"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": "batch-wav-converter",
"arguments": {
"wavFiles": "https://example.com/file.ext",
"outputFormat": "mp3",
"bitrate": "e.g., 128k, 192k, 320k (optional)",
"quality": 5,
"sampleRate": "auto",
"channels": "auto",
"preserveMetadata": true,
"keepOriginalNames": true
}
}
}Questions or issues? Contact [email protected]