Global - Face Search 1:N (Live) (0.43 credits)
face_recognition_search_live_faceRun live 1:N face searches against your enrolled collection to check liveness and return identity matches for verification.
Instructions
Live 1:N face search. Returns liveness and matches in your collection. Inputs: image, os, liveness_min_score, min_score, search_mode, and collection_id. Requires collection_id to scope 1:N search to your collection. Matched-person details are omitted from responses when collection_id is not provided. Costs 0.43 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": {
"image": "<image>",
"os": "<os>",
"liveness_min_score": "<liveness_min_score>",
"min_score": "<min_score>",
"search_mode": "<search_mode>",
"collection_id": "<collection_id>"
},
"name": "face_recognition_search_live_face"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | Yes | Client operating system. Allowed values: ANDROID, IOS, DESKTOP. | |
| image | Yes | Face or document photo as a base64-encoded JPEG/PNG string (with or without a data:image/...;base64, prefix) or a public https:// image URL. | |
| min_score | Yes | Minimum face match score threshold (0.2–1.0 depending on endpoint). | |
| search_mode | Yes | Face search accuracy mode. Allowed values: FAST, ACCURATE. | |
| collection_id | Yes | Face collection ID that scopes search to your enrolled persons. Required for face detect and 1:N search tools. | |
| liveness_min_score | Yes | Minimum liveness score threshold (0.5–1.0). |