Categories

Reduce GIF Colors

Reduce the number of colors in GIF images while maintaining visual quality and animation

Click to upload file or drag and drop file here

Maximum file size: 50MB Supported formats: image/gif

0 1 1

API Documentation

Request Endpoint

POST /en/api/tools/gif-to-colors-reduced-gif

Request Parameters

Parameter Name Type Required Description
gifFile file (Upload required) Yes -
colorReductionMethod select No -
targetColors number No -
ditheringMethod select No -
ditheringStrength range No -
preserveTransparency checkbox No -
transparencyThreshold number No -
adaptivePalette checkbox No -
multiFrameHandling select No -

File type parameters need to be uploaded first via POST /upload/gif-to-colors-reduced-gif 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)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-gif-to-colors-reduced-gif": {
      "name": "gif-to-colors-reduced-gif",
      "description": "Reduce the number of colors in GIF images while maintaining visual quality and animation",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=gif-to-colors-reduced-gif",
      "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]