AI Face Compare (1:1)
Compare two images, output embedding distance and match boolean by threshold, only compare the first face in each image
API Documentation
Request Endpoint
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)"
}
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]