This API has a well-trained machine-learning algorithm that allows it to recognize different cat breeds that are in a given picture.
Just by passing the Image URL, you will be receiving a list of all the possible breeds that are in there.
Confidence: this is a score between 0 to 1. When closer to 1 the better the recognition of the AI for the object in the picture.
Label: You will be given the name of the object the AI has found on the image. For example, Siamese Cat, or Persian Cat.
This API is ideal for those businesses with large image databases where they have data unstructured and need to classify them by breed.
Also, this API is intended to create an accurate classification of the objects recognized. It's not the same a "Cat" as a "Siamese Cat" or "Persian Cat". This API will allow you to have the exact match.
Besides API call limitations per month, there are no limitations between plans.
Be able to recognize the breed of the cat in the picture.
Pet Classification - Endpoint Features
| Object | Description |
|---|---|
url |
[Required] The image URL that you want to classify. |
access_key |
[Required] |
{"results":[{"label":"Siamese cat, Siamese","score":0.9666045308113098},{"label":"Egyptian cat","score":0.021663831546902657},{"label":"tabby, tabby cat","score":0.0021568406373262405},{"label":"lynx, catamount","score":0.0018659039633348584},{"label":"Persian cat","score":0.000798280700109899}]}
curl --location --request POST 'https://zylalabs.com/api/499/cat+breed+classification+api/373/pet+classification?url=https://images.squarespace-cdn.com/content/v1/607f89e638219e13eee71b1e/1684821560422-SD5V37BAG28BURTLIXUQ/michael-sum-LEpfefQf4rU-unsplash.jpg?format=2500w' --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 Pet Classification endpoint returns a JSON object containing a list of recognized cat breeds from the provided image URL. Each entry includes a breed label and a confidence score indicating the likelihood of the breed being correct.
The key fields in the response data are "label," which specifies the breed name, and "score," which is a confidence value between 0 and 1, indicating the accuracy of the breed recognition.
The response data is structured as a JSON object with a "results" array. Each element in the array contains a "label" for the breed and a "score" representing the confidence level of that classification.
The Pet Classification endpoint provides information on various cat breeds identified in an image, including breed names and their corresponding confidence scores, allowing for detailed classification.
Users can customize their requests by providing different image URLs to the endpoint. The API will analyze each image and return breed classifications based on the content of the provided image.
Data accuracy is maintained through a well-trained machine-learning algorithm that has been developed using a diverse dataset of cat images, ensuring reliable breed recognition across various breeds.
Typical use cases include organizing large image databases by cat breed, enhancing pet adoption platforms, and developing applications for pet identification and breed education.
If the API returns partial or empty results, users should check the image quality and clarity. Low-quality images may hinder breed recognition. Users can also try submitting different images for better results.
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:
1,100ms
Service Level:
100%
Response Time:
2,683ms
Service Level:
100%
Response Time:
1,462ms
Service Level:
100%
Response Time:
2,217ms
Service Level:
100%
Response Time:
5,837ms
Service Level:
100%
Response Time:
1,031ms
Service Level:
100%
Response Time:
292ms
Service Level:
100%
Response Time:
1,187ms
Service Level:
100%
Response Time:
1,244ms
Service Level:
100%
Response Time:
1,194ms
Service Level:
100%
Response Time:
61ms
Service Level:
100%
Response Time:
469ms
Service Level:
100%
Response Time:
238ms
Service Level:
100%
Response Time:
7,712ms
Service Level:
100%
Response Time:
61ms
Service Level:
100%
Response Time:
1,365ms
Service Level:
100%
Response Time:
575ms
Service Level:
100%
Response Time:
15,224ms
Service Level:
100%
Response Time:
1,007ms
Service Level:
100%
Response Time:
4,506ms