Media
Cut and trim video clips with precision, supporting multiple formats and quality settings
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-cutter' \
-F 'file=@/path/to/videoFile.ext'
# 2) Call the tool with the returned filePath values
curl -X POST 'https://api.elysiatools.com/en/api/tools/video-cutter' \
-F 'videoFile=/path/to/file.ext' \
-F 'startTime=0' \
-F 'endTime=0' \
-F 'duration=0' \
-F 'outputFormat=mp4' \
-F 'codec=libx264' \
-F 'quality=75' \
-F 'bitrate=e.g., 5M, 10M' \
-F 'preserveAudio=true' \
-F 'audioCodec=aac'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-cutter| Name | Type | Required | Description |
|---|---|---|---|
| videoFile | fileupload required | Yes | — |
| startTime | number | No | Start cutting from this time |
| endTime | number | No | End cutting at this time |
| duration | number | No | Duration of the output clip |
| outputFormat | select | No |
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-cutter": {
"name": "video-cutter",
"description": "Cut and trim video clips with precision, supporting multiple formats and quality settings",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=video-cutter",
"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-cutter",
"arguments": {
"videoFile": "https://example.com/file.ext",
"startTime": 0,
"endTime": 0,
"duration": 0,
"outputFormat": "mp4",
"codec": "libx264",
"quality": 75,
"bitrate": "e.g., 5M, 10M",
"preserveAudio": true,
"audioCodec": "aac"
}
}
}| — |
| codec | select | No | — |
| quality | number | No | Higher = better quality, larger file |
| bitrate | text | No | Target bitrate (overrides quality) |
| preserveAudio | checkbox | No | Keep audio track in output |
| audioCodec | 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)"
}Questions or issues? Contact [email protected]