Media
Entfernt einfarbige Hintergrunde aus Videos mit Chroma-Key (Gruenwand, Blauwand, etc.)
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/video-background-remove' \
-H 'Content-Type: application/json' \
-d '{"filename":"videoFile.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/video-background-remove' \
-F 'videoFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'keyColor=0x00FF00' \
-F 'customColor=#00FF00' \
-F 'similarity=0.3' \
-F 'blend=0.1' \
-F 'outputFormat=webm'Senden Sie eine POST-Anfrage mit Ihren Eingaben als JSON. Dateiparameter erfordern einen vorherigen Upload.
POST https://api.elysiatools.com/de/api/tools/video-background-remove| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| videoFile | fileUpload nötig | Ja | — |
| keyColor | select | Nein | — |
| customColor | color | Nein | Wahlen Sie eine benutzerdefinierte Hintergrundfarbe zum Entfernen (wenn Schluesselfarbe auf Benutzerdefiniert eingestellt ist) |
| similarity | range | Nein | Farb-Toleranz (0-1). Hohe Werte entfernen mehr ahnliche Farben. |
| blend | range | Nein | Kantenweichzeichnung (0-1). Hohe Werte erstellen weichere Kanten. |
| 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-video-background-remove": {
"name": "video-background-remove",
"description": "Entfernt einfarbige Hintergrunde aus Videos mit Chroma-Key (Gruenwand, Blauwand, etc.)",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=video-background-remove",
"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": "video-background-remove",
"arguments": {
"videoFile": "https://example.com/file.ext",
"keyColor": "0x00FF00",
"customColor": "#00FF00",
"similarity": 0.3,
"blend": 0.1,
"outputFormat": "webm"
}
}
}Fragen oder Probleme? Kontakt: [email protected]