About the API:
This API will recognize the faces located in a given image, and it will deliver the estimated age of the person in it and, also, their gender.
This API will receive an image URL and the accuracy_boost (integer from 1 to 4), and it will deliver the matching gender and estimated person's age.
accuracy_boost: To increase the accuracy of your request, in a trade-off of API response time, use the optional “accuracy_boost” param to boost model accuracy. Valid arguments are values in the range 1 to 4, with 1 being the fastest and least accurate model and 4 being the most accurate and slowest model. We recommend 2 for most use cases.
This API is ideal for those companies that have a large image database that needs to be sorted by gender or age.
Maybe, you have a database of users' profile pics and need to sort them by gender and age to start recommending them certain products or promotions.
Stablish security checkpoints where your users upload an image of themselves and you will be able to give them access to different features on your platforms.
Besides the number of API calls per month, there are no other limitations.
{"detected_faces": [{"BoundingBox": {"startX": 184, "startY": 0, "endX": 419, "endY": 317, "Probability": 99.09457564353943}, "Gender": {"Gender": "male", "Probability": 81.68779015541077}, "Age": {"Age-Range": {"Low": 47, "High": 60}}}]}
curl --location --request POST 'https://zylalabs.com/api/563/age+and+gender+detector+api/399/detector' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"url": "https://encrypted-tbn1.gstatic.com/licensed-image?q=tbn:ANd9GcSAHmDSOdLA5YgFlEkMmgdweIf3jyGI0EGKqU5U7TpO70GFAY48v1N51eMRpY6mbG-VzfPvgObhOwB8lX4",
"accuracy_boost": 3
}'
| 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 API returns data related to detected faces in an image, including estimated age ranges and gender classifications. Each detected face includes a bounding box, gender probability, and age range.
Key fields in the response include "detected_faces," which contains an array of face data. Each face entry includes "BoundingBox," "Gender," and "Age," with respective probabilities and age ranges.
The response data is structured as a JSON object. It contains a "detected_faces" array, where each element represents a detected face with its bounding box coordinates, gender, and age range details.
The endpoint accepts two parameters: "image URL" (the URL of the image to analyze) and "accuracy_boost" (an integer from 1 to 4 to adjust accuracy and response time).
Users can customize requests by providing an image URL and selecting an "accuracy_boost" level. This allows for a balance between response speed and accuracy based on their needs.
Typical use cases include sorting images in databases by age and gender, enhancing user experience in product recommendations, and implementing security features that require user verification through image analysis.
Data accuracy is maintained through the use of advanced facial recognition algorithms. Users can enhance accuracy by adjusting the "accuracy_boost" parameter, allowing for more precise results at the cost of response time.
If users receive partial or empty results, they should check the image quality and ensure that the faces are clearly visible. Additionally, adjusting the "accuracy_boost" may improve detection outcomes.
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:
485ms
Service Level:
100%
Response Time:
412ms
Service Level:
100%
Response Time:
227ms
Service Level:
100%
Response Time:
144ms
Service Level:
100%
Response Time:
929ms
Service Level:
100%
Response Time:
13ms
Service Level:
100%
Response Time:
282ms
Service Level:
100%
Response Time:
30ms
Service Level:
100%
Response Time:
358ms
Service Level:
100%
Response Time:
478ms