Categories

AI Face Compare (1:1)

Compare two images, output embedding distance and match boolean by threshold, only compare the first face in each image

Click to upload file or drag and drop file here

Maximum file size: 30MB Supported formats: image/*

Click to upload file or drag and drop file here

Maximum file size: 30MB Supported formats: image/*

API Documentation

Request Endpoint

POST /en/api/tools/ai-face-compare

Request Parameters

Parameter Name Type Required Description
imageA file (Upload required) Yes -
imageB file (Upload required) Yes -
threshold number No -
minConfidence number No -

File type parameters need to be uploaded first via POST /upload/ai-face-compare to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON Data: JSON Data

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-ai-face-compare": {
      "name": "ai-face-compare",
      "description": "Compare two images, output embedding distance and match boolean by threshold, only compare the first face in each image",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=ai-face-compare",
      "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]