Global - Face Comparison (0.03 credits)
face_recognition_compareCompare two face images 1:1 to obtain a match score between gallery and probe, selecting FAST or ACCURATE search mode for identity verification.
Instructions
Compares two face images (1:1). Returns a match score for gallery versus probe. Inputs: gallery, probe, and search_mode (FAST or ACCURATE). Images are base64 or https URLs. Use it to compare two photos. Use the live compare tools when the probe must also pass liveness. Costs 0.03 credits per successful call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"search_mode": "<search_mode>",
"gallery": "<gallery>",
"probe": "<probe>"
},
"name": "face_recognition_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| probe | Yes | ||
| gallery | Yes | ||
| search_mode | Yes | Face search accuracy mode. Allowed values: FAST, ACCURATE. |