About the API:
This API will recognize a celebrity in a picture with great confidence.
Pass the image URL that you want to analyze and receive the detected celebrity in it with its name. Also, it will provide facial expressions detections, is this celebrity angry? Calm? Disgusted? Find it out.
Sort your image databases: This API is ideal for those magazines or entertainment companies that want to sort their celebrity images by a person. Be able to group the pictures by celebrity.
Detect celebrities on images: If you receive a bulk of images, you can easily figure out in which of them a celebrity appears. This is helpful to filter any picture programatically.
Besides API call limitations per month, there are no other limitations.
Pass any image URL you want and receive the detected celebrity in it.
Check Celebrity - Endpoint Features
| Object | Description |
|---|---|
Request Body |
[Required] Json |
[{"Urls":["www.wikidata.org/wiki/Q208026","www.imdb.com/name/nm0362766"],"Name":"Tom Hardy","Id":"1DD7qW","Face":{"BoundingBox":{"Width":0.25059932470321655,"Height":0.6343399286270142,"Left":0.34072256088256836,"Top":0.19400236010551453},"Confidence":99.9953842163086,"Landmarks":[{"Type":"mouthLeft","X":0.41036567091941833,"Y":0.6732310652732849},{"Type":"mouthRight","X":0.5034734010696411,"Y":0.6723979711532593},{"Type":"eyeRight","X":0.509917676448822,"Y":0.45429226756095886},{"Type":"nose","X":0.4468076229095459,"Y":0.5803067088127136},{"Type":"eyeLeft","X":0.3983132243156433,"Y":0.4556412696838379}],"Pose":{"Roll":-1.457602620124817,"Yaw":-6.3121161460876465,"Pitch":0.8163394331932068},"Quality":{"Brightness":88.32508087158203,"Sharpness":92.22801208496094},"Emotions":[{"Type":"CALM","Confidence":92.93851470947266},{"Type":"HAPPY","Confidence":3.9025120735168457},{"Type":"ANGRY","Confidence":0.9437664151191711},{"Type":"SAD","Confidence":0.9113879203796387},{"Type":"CONFUSED","Confidence":0.6011008024215698},{"Type":"SURPRISED","Confidence":0.42155593633651733},{"Type":"FEAR","Confidence":0.1526888608932495},{"Type":"DISGUSTED","Confidence":0.1284671425819397}],"Smile":{"Value":false,"Confidence":94.34931945800781}},"MatchConfidence":99.65357208251953,"KnownGender":{"Type":"Male"}}]
curl --location --request POST 'https://zylalabs.com/api/374/celebrity+recognition+api/296/check+celebrity' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"image": "https://media.revistagq.com/photos/5ca5f516e6e7b78202e89219/16:9/w_2560%2Cc_limit/venom_tom_hardy_914.jpg"
}'
| 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 Check Celebrity endpoint returns data including the detected celebrity's name, associated URLs (like IMDb), facial expression analysis, and detailed facial landmarks. It provides a comprehensive overview of the celebrity's presence in the image.
Key fields in the response include "Name" (celebrity's name), "Urls" (links to more information), "Face" (bounding box and confidence score), "Emotions" (detected feelings with confidence levels), and "Landmarks" (facial feature coordinates).
The response data is structured as a JSON array containing objects. Each object represents a detected celebrity with fields for their name, URLs, facial attributes, and emotional analysis, allowing for easy parsing and utilization.
The endpoint provides information on detected celebrities, their emotional states (e.g., calm, angry), facial landmarks, and confidence scores for both recognition and emotion detection, enabling detailed analysis of images.
Users can customize requests by providing different image URLs to analyze various images. The API processes each image independently, returning results specific to the content of the provided URL.
The data is sourced from a combination of celebrity databases and image recognition algorithms. This ensures a broad coverage of well-known personalities and maintains a high level of accuracy in detection.
Data accuracy is maintained through continuous updates to the celebrity database and the use of advanced machine learning models that improve recognition capabilities over time, ensuring reliable results.
Typical use cases include sorting celebrity images for media companies, filtering images in bulk to identify celebrity appearances, and analyzing emotional expressions for marketing or research purposes.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
4,650ms
Service Level:
100%
Response Time:
415ms
Service Level:
100%
Response Time:
159ms
Service Level:
100%
Response Time:
50ms
Service Level:
100%
Response Time:
143ms
Service Level:
100%
Response Time:
749ms
Service Level:
100%
Response Time:
799ms
Service Level:
100%
Response Time:
20,002ms
Service Level:
100%
Response Time:
20,003ms
Service Level:
100%
Response Time:
20,003ms
Service Level:
100%
Response Time:
584ms
Service Level:
100%
Response Time:
633ms
Service Level:
100%
Response Time:
669ms
Service Level:
100%
Response Time:
103ms
Service Level:
100%
Response Time:
189ms
Service Level:
100%
Response Time:
159ms
Service Level:
100%
Response Time:
311ms
Service Level:
100%
Response Time:
1,192ms
Service Level:
100%
Response Time:
139ms
Service Level:
80%
Response Time:
573ms