With Face Comparison API, you can check if the same person appears in 2 different pictures. Our Artificial Intelligence will allow you to compare and determine if those 2 pictures are, indeed, from the same person.
The API will need you to pass a publicly accessible image URL, and our AI will handle everything. You will receive an intuitive output:
This API will allow you to compare two faces and determine if they belong to the same person. If you want to implement a face validation checkpoint in your office, you could do it with this API.
If you want to compare pictures of different ID's, this API will help you.
Also, if you have a large database of pictures and want to sort them by person, with this API you will be able to accomplish that goal.
The only limitation is the number of API calls you can make per month that support each plan.
{"output":{"success":true,"is_same":false,"url1":"https://www.planetegrandesecoles.com/wp-content/uploads/2023/08/brad.jpg","url2":"https://tmhairdesign.com/wp-content/uploads/2023/04/tm-men1_0001_TM-MEN3.jpg"}}
curl --location --request GET 'https://zylalabs.com/api/30/face+comparison+validator+api/5547/compare?hide_analysis=true&url1=https://www.planetegrandesecoles.com/wp-content/uploads/2023/08/brad.jpg&url2=https://tmhairdesign.com/wp-content/uploads/2023/04/tm-men1_0001_TM-MEN3.jpg' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The Face Comparison API uses Artificial Intelligence to compare two different pictures and determine if they belong to the same person.
The API requires the publicly accessible image URLs of the two pictures you want to compare.
The API provides an intuitive output in the form of a result message and a similarity percentage.
The result message will indicate whether the two faces belong to different people or the same person.
Yes, the input pictures need to be clean, with a visible and clear face of the person to compare. Blurry images, multiple people in the same picture, and unrecognizable faces may lead to comparison errors.
No, the API only accepts publicly accessible image URLs as input.
Each endpoint returns data related to face comparison results, including whether the faces belong to the same person, a confidence score, and image URLs used in the comparison.
Key fields include "is_same" (true/false), "confidence_score" (0 to 1), and "success" (indicating if the request was processed correctly). Additional fields may include image URLs and result messages.
The response data is structured in JSON format, with a top-level object containing "output" or "data" fields, which encapsulate the results of the face comparison and relevant metadata.
Each endpoint provides information on whether the two images depict the same person, the confidence level of the comparison, and additional metadata such as image URLs and result messages.
Users can customize requests by providing different publicly accessible image URLs for comparison. The API processes these URLs to return tailored results based on the provided images.
"is_same" indicates if the faces are from the same person, "confidence_score" reflects the reliability of the comparison, and "success" shows if the API call was successful.
Data accuracy is maintained through advanced AI algorithms that analyze facial features. Continuous training on diverse datasets helps improve the model's performance and reliability.
Typical use cases include identity verification for security systems, comparing images for fraud detection, and organizing large photo databases by individual identity.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
20,002ms
Service Level:
100%
Response Time:
20,002ms
Service Level:
100%
Response Time:
20,003ms
Service Level:
100%
Response Time:
12,158ms
Service Level:
100%
Response Time:
20,003ms
Service Level:
100%
Response Time:
20,003ms
Service Level:
100%
Response Time:
20,002ms
Service Level:
100%
Response Time:
20,003ms
Service Level:
100%
Response Time:
20,002ms
Service Level:
100%
Response Time:
891ms
Service Level:
100%
Response Time:
39ms
Service Level:
100%
Response Time:
513ms
Service Level:
100%
Response Time:
1,210ms
Service Level:
100%
Response Time:
309ms
Service Level:
100%
Response Time:
2,829ms
Service Level:
100%
Response Time:
726ms
Service Level:
100%
Response Time:
601ms
Service Level:
100%
Response Time:
97ms
Service Level:
100%
Response Time:
605ms
Service Level:
100%
Response Time:
1,289ms