Global - Create Face Person With Liveness (0.53 credits)
face_recognition_persons_liveChecks liveness before enrolling a person, then searches your face collection and returns the person ID and match results.
Instructions
Enrolls a person only if the images pass liveness, then searches your collection. Returns the person id and any match. Inputs: name, images, gender, date_of_birth, collection_id, liveness_min_score, min_score, and search_mode (FAST or ACCURATE). Use face_recognition_persons to enroll without the live search. Costs 0.53 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": {
"name": "<name>",
"images": "<images>",
"gender": "<gender>",
"date_of_birth": "<date_of_birth>",
"collection_id": "<collection_id>",
"liveness_min_score": "<liveness_min_score>",
"min_score": "<min_score>",
"search_mode": "<search_mode>"
},
"name": "face_recognition_persons_live"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| gender | Yes | ||
| images | Yes | ||
| 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. | |
| date_of_birth | Yes | ||
| liveness_min_score | Yes | Minimum liveness score threshold (0.5–1.0). |