For the face match with liveness API, you need to input 2 images on the API. The first index should be photo will be the template for photo matching, and the second index should be live selfie photo. For the template for photo matching, you can use an issued citizen ID card photo or your customer database photo. For the selfie photo, it will be verified on liveness check, please consider this input specification to get the proper result.