Media
Einzelbilder aus GIF-Dateien extrahieren mit anpassbaren Ausgabeformat- und Benennungsoptionen
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/gif-to-frames' \
-H 'Content-Type: application/json' \
-d '{"filename":"gifFile.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/gif-to-frames' \
-F 'gifFile=uploads/2026/01/01/your-tool-1700000000000-abc123.ext' \
-F 'outputFormat=png' \
-F 'frameRange=all' \
-F 'startFrame=1' \
-F 'endFrame=0' \
-F 'frameStep=1' \
-F 'quality=100' \
-F 'backgroundColor=transparent' \
-F 'customBackgroundColor=#ffffff' \
-F 'customWidth=0' \
-F 'customHeight=0' \
-F 'maintainAspectRatio=true' \
-F 'namingPattern=frame' \
-F 'paddingLength=3'Senden Sie eine POST-Anfrage mit Ihren Eingaben als JSON. Dateiparameter erfordern einen vorherigen Upload.
POST https://api.elysiatools.com/de/api/tools/gif-to-frames| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| gifFile | fileUpload nötig | Ja | — |
| outputFormat | select | Nein | — |
| frameRange | select | Nein | — |
| startFrame | number | Nein | — |
| endFrame | number | Nein | — |
| frameStep | number | Nein | — |
| quality | number | Nein | — |
| backgroundColor | select | Nein | — |
| customBackgroundColor | color | Nein | — |
| customWidth | number | Nein | — |
| customHeight | number | Nein | — |
| maintainAspectRatio | checkbox | Nein | — |
| namingPattern | select | Nein | — |
| paddingLength | number | 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-gif-to-frames": {
"name": "gif-to-frames",
"description": "Einzelbilder aus GIF-Dateien extrahieren mit anpassbaren Ausgabeformat- und Benennungsoptionen",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=gif-to-frames",
"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": "gif-to-frames",
"arguments": {
"gifFile": "https://example.com/file.ext",
"outputFormat": "png",
"frameRange": "all",
"startFrame": 1,
"endFrame": 0,
"frameStep": 1,
"quality": 100,
"backgroundColor": "transparent",
"customBackgroundColor": "#ffffff",
"customWidth": 0,
"customHeight": 0,
"maintainAspectRatio": true,
"namingPattern": "frame",
"paddingLength": 3
}
}
}Fragen oder Probleme? Kontakt: [email protected]