Media
Convert multiple video files between different formats like MP4, WebM, MKV, AVI, MOV with quality settings 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/video-batch-converter' \
-F 'file=@/path/to/videoFiles.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/video-batch-converter' \
-F 'videoFiles=/path/to/file.ext' \
-F 'outputFormat=mp4' \
-F 'quality=23' \
-F 'preset=medium' \
-F 'videoBitrate=auto' \
-F 'audioBitrate=128k' \
-F 'removeAudio=false' \
-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/video-batch-converter| Name | Type | Required | Description |
|---|---|---|---|
| videoFiles | fileupload required | Yes | — |
| outputFormat | select | Yes | — |
| quality | range | No | Lower = better quality, larger file. 18-28 is recommended (23 is default for H.264) |
| preset | select | No | — |
| videoBitrate | select | No | — |
| audioBitrate | select | No | — |
| removeAudio | checkbox | No | — |
| preserveMetadata | checkbox | No | — |
| keepOriginalNames | checkbox | 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-video-batch-converter": {
"name": "video-batch-converter",
"description": "Convert multiple video files between different formats like MP4, WebM, MKV, AVI, MOV with quality settings and batch processing",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=video-batch-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": "video-batch-converter",
"arguments": {
"videoFiles": "https://example.com/file.ext",
"outputFormat": "mp4",
"quality": 23,
"preset": "medium",
"videoBitrate": "auto",
"audioBitrate": "128k",
"removeAudio": false,
"preserveMetadata": true,
"keepOriginalNames": true
}
}
}Questions or issues? Contact [email protected]