Convert GIF to WebP
Convert GIF images to WebP format with quality settings and transparency support
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| gifFile | file (Upload required) | Yes | - |
| multiFrameHandling | select | No | - |
| quality | number | No | - |
| lossless | checkbox | No | Use lossless compression (may increase file size) |
| backgroundColor | select | No | - |
File type parameters need to be uploaded first via POST /upload/gif-to-webp to get filePath, then pass filePath to the corresponding file field.
Response Format
{
"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)"
}
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-gif-to-webp": {
"name": "gif-to-webp",
"description": "Convert GIF images to WebP format with quality settings and transparency support",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=gif-to-webp",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
Supports URL file links or Base64 encoding for file parameters.
If you encounter any issues, please contact us at [email protected]