Overview
TheCompareRequest model represents the input payload for the face comparison endpoint. It contains a target face image and a list of people to compare against.
Rust Definition
TypeScript Definition
Fields
The URL of the target face image to compare against the provided people. This should be a publicly accessible image URL containing a face.
An array of Person objects representing the individuals to compare against the target face. Each person includes a name and their image URL.
Example JSON
Usage
This model is used as the request body for the/compare endpoint. The API will:
- Download and process the target face image
- Download and process each person’s image
- Compare the target face against all provided people
- Return match results with probability scores
Related Models
- Person - Individual person model used in the people array
- CompareResponse - Response model returned from the comparison