> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/rest-api/midapi-v2/biometric-services.md).

# Biometric Services

MIDAPI v2 facial biometrics services: liveness check on the selfie and comparison of two faces.

Both accept assets online or by reference, except for detokenization, which operates on a Token and not on an asset. The Flow by reference is in [Common Flow](/docs.facephi-en/rest-api/midapi-v2/flujo-comun.md).

#### Available services

* [**Face Liveness**](/docs.facephi-en/rest-api/midapi-v2/biometric-services/face-liveness.md): Performs a liveness check on the user's selfie.
* [**Facial Matching**](/docs.facephi-en/rest-api/midapi-v2/biometric-services/facial-matching.md): Compares two faces and returns the result with its confidence.
* [**Detokenize Image**](/docs.facephi-en/rest-api/midapi-v2/biometric-services/detokenize-image.md): Returns the open image corresponding to a best-image Token.
