"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'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 动物识别 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
该API提供了一项全面的服务,用于根据动物的图像识别和描述动物。它允许用户获取有关各种物种的详细和可靠的信息,方便进行教育、科学或单纯好奇目的的野生动物研究。当提交一张动物的图像时,API会分析其特征并返回其物种的一般描述,包括其外观、行为和栖息地的相关方面。
此外,它还提供动物的照片以配合文本信息,从而允许进行准确的视觉参考。该API对需要在野外研究中识别样本的研究人员、寻找互动教育资源的教师或希望提供有关动物有趣事实的娱乐应用程序非常有用。其通用的方法确保可以应用于各种动物,从常见宠物到野生物种,提供任何与动物生活相关项目的多功能资源。集成非常简单,服务旨在快速响应请求,便于将其纳入移动应用程序、网站、学习平台或科学数据库。
该API确保信息呈现的一致性,每个查询返回结构化和易于理解的结果,配以清晰的图像,准确反映动物的特征。
POST动物识别端点返回被识别动物物种的详细描述,包括外观、行为和栖息地等方面,以及照片。GET生物信息端点提供指定动物的全面传记,包括其特征和生态信息
响应数据中的关键字段包括“物种名称”“描述”“栖息地”“行为”和“图片网址”这些字段提供了有关动物的重要信息和视觉参考以帮助识别
响应数据采用JSON格式结构化,具有清晰的键值对。每个响应包含一个主要对象,包含动物的详细信息,确保可以轻松解析和访问特定信息
POST端点根据图像提供身份识别信息,而GET端点提供指定动物的传记信息,包括其生态角色、行为和栖息地偏好
典型的用例包括野生动物研究、教师的教育资源、动物爱好者的移动应用程序和提供各种物种有趣事实的互动平台
数据准确性通过专家审核的来源和分析图像与文本信息的机器学习算法的结合来维持,确保动物的可靠识别和描述
用户可以通过为POST端点提供特定的图片URL或为GET端点指定动物的确切名称来自定义请求,从而根据他们的需求进行针对性的查询
用户可以期待一致的数据模式,例如具有清晰描述和图像的结构化响应。如果某个动物未被识别,API将返回一条消息,指示缺乏识别,帮助用户理解限制