AI Face Recognition (Gallery)
Build a gallery from labeled faces and recognize faces in a target image
API Documentation
Request Endpoint
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| galleryFiles | file (Upload required) | Yes | - |
| galleryLabels | text | No | - |
| targetImage | file (Upload required) | Yes | - |
| threshold | number | No | - |
| minConfidence | number | No | - |
File type parameters need to be uploaded first via POST /upload/ai-face-recognition 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-recognition": {
"name": "ai-face-recognition",
"description": "Build a gallery from labeled faces and recognize faces in a target image",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=ai-face-recognition",
"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]