"id": "1",
"object": "-",
"created": 1756904036,
"model": "zyla-image-recognition-2024-07-18",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "```json-{- \"species\": \"Equus ferus caballus\",- \"common_name\": \"Horse\",- \"habitat\": \"Grasslands\",- \"characteristics\": {- \"size\": \"Large\",- \"color\": \"Tan with black mane\",- \"leg_type\": \"Hoofed\",- \"social_structure\": \"Herd\"- }-}-```",
"refusal": null,
"annotations": []
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"log1": 25527,
"log2": 80,
"log3": 25607,
"log1_details": {
"cached_tokens": 0,
"audio_tokens": 0
},
"log2_details": {
"reasoning_tokens": 0,
"audio_tokens": 0,
"accepted_prediction_tokens": 0,
"rejected_prediction_tokens": 0
}
},
"service_tier": "default",
"system_fingerprint": "fp_e665f7564b"
}
curl --location --request POST 'https://zylalabs.com/api/9913/animal+recognition+api/18693/animal+recognition' --header 'Authorization: Bearer YOUR_API_KEY'
--data-raw '{
"model": "zyla-image-recognition",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Animal"
},
{
"type": "image_url",
"image_url": {
"url": "https://theeverydayequestrian.co.uk/wp-content/uploads/2021/01/Untitled-design-5.png"
}
}
]
}
],
"max_tokens": 300
}'
["The Golden Retriever is a popular and versatile dog breed known for their friendly and loyal nature. Here is some detailed information about Golden Retrievers: 1. **Physical Characteristics**:\n - Golden Retrievers are medium to large-sized dogs with a sturdy build and a dense, water-repellent coat that is usually golden in color.\n - They have a broad head with friendly, intelligent eyes and a characteristic gentle expression.\n - Their fur is long and can be wavy or straight, with feathering on the tail, legs, and chest. 2. **Temperament**:\n - Golden Retrievers are known for their friendly, outgoing, and intelligent nature.\n - They are one of the most popular family dogs because of their gentle demeanor and love for human companionship.\n - They are good with children and other pets, making them excellent family pets. 3. **Exercise Needs**:\n - Golden Retrievers are active dogs that require regular exercise to keep them happy and healthy.\n - They enjoy activities such as walking, running, swimming, playing fetch, and participating in obedience training. 4. **Training**:\n - Golden Retrievers are intelligent and eager to please, which makes them relatively easy to train.\n - They respond well to positive reinforcement training methods and enjoy tasks that engage their minds. 5. **Health**:\n - Like all breeds, Golden Retrievers are prone to certain health issues such as hip dysplasia, elbow dysplasia, and certain eye conditions.\n - Regular vet check-ups, a healthy diet, and regular exercise can help maintain the health of a Golden Retriever. 6. **History**:\n - The Golden Retriever breed was developed in Scotland in the mid-19th century as a gun dog to retrieve game during hunting expeditions.\n - They were originally bred by crossing the now-extinct Tweed Water Spaniel with other retrievers and spaniels. 7. **Popularity**:\n - Golden Retrievers are consistently ranked among the top ten most popular dog breeds in the United States.\n - Their friendly and adaptable nature, coupled with their intelligence and beauty, make them a beloved choice for families, therapy work, and search and rescue operations. Overall, Golden Retrievers are known for being loving, loyal, and versatile dogs that excel in a variety of roles, from family pet to working dog. They require plenty of love, attention, and exercise to thrive and make wonderful companions for owners of all ages."]
curl --location --request GET 'https://zylalabs.com/api/9913/animal+recognition+api/18695/biography+information' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Animal Recognition API simply include your bearer token in the Authorization header.
| 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.
(Save 2 months with annual billing 🎉)
This API offers a comprehensive service for identifying and describing animals based on their images. It allows users to obtain detailed and reliable information about various species, facilitating the study of wildlife for educational, scientific, or simple curiosity purposes. When an image of an animal is submitted, the API analyzes its characteristics and returns a general description of its species, including relevant aspects of its appearance, behavior, and habitat.
In addition, it provides a photograph of the animal to accompany the textual information, allowing for accurate visual reference. The API is useful for researchers who need to identify specimens in field studies, teachers looking for interactive educational resources, or entertainment applications that want to offer interesting facts about animals. Its generalized approach ensures that it can be applied to a wide variety of animals, from common pets to wild species, offering a versatile resource for any project related to animal life. Integration is simple, and the service is designed to respond quickly to requests, facilitating its incorporation into mobile applications, websites, learning platforms, or scientific databases.
The API ensures consistency in the presentation of information, with each query returning structured and understandable results, accompanied by clear images that accurately reflect the animal.
The POST Animal Recognition endpoint returns a detailed description of the identified animal species, including aspects of appearance, behavior, and habitat, along with a photograph. The GET Biography Information endpoint provides a comprehensive biography of the specified animal, including its characteristics and ecological information.
Key fields in the response data include "species_name," "description," "habitat," "behavior," and "image_url." These fields provide essential information about the animal and a visual reference to aid identification.
The response data is structured in a JSON format, with clear key-value pairs. Each response includes a main object containing the animal's details, ensuring easy parsing and access to specific information.
The POST endpoint provides identification details based on an image, while the GET endpoint offers biographical information about a specified animal, including its ecological role, behavior, and habitat preferences.
Typical use cases include wildlife research, educational resources for teachers, mobile applications for animal enthusiasts, and interactive platforms that provide fun facts about various species.
Data accuracy is maintained through a combination of expert-reviewed sources and machine learning algorithms that analyze images and textual information, ensuring reliable identification and descriptions of animals.
Users can customize requests by providing specific image URLs for the POST endpoint or specifying the exact name of the animal for the GET endpoint, allowing for targeted queries based on their needs.
Users can expect consistent data patterns, such as structured responses with clear descriptions and images. If an animal is not recognized, the API will return a message indicating the lack of identification, helping users understand the limitations.
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