Poomi

品种识别

上传宠物照片,识别品种、混血组成及品种特征。

POST/v1/breed-identification
图片5 每次调用额度
字段类型必填描述
imagestringBase64 编码的图片数据(JPG/PNG/WEBP,最大 4MB)
animalTypestring分析的动物类型(如:dog、cat、rabbit、hamster)
languagestring响应语言代码(en, zh, es)

API Playground

语言

请求示例

bash
curl -X POST https://www.poomi.pet/api/v1/breed-identification \
  -H "Authorization: Bearer pk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "base64_encoded_data",
    "animalType": "dog",
    "language": "en"
  }'

响应示例

json200 OK
{
  "success": true,
  "request_id": "req_xxxxxxxx",
  "data": {
    "breeds": [
      {
        "name": "Golden Retriever",
        "confidence": 0.75
      },
      {
        "name": "Labrador Retriever",
        "confidence": 0.2
      }
    ],
    "species": "dog",
    "assessment": "Coat feathering on legs and chest is characteristic of Golden Retrievers, not seen in purebred Labradors. The broad skull with gentle stop matches Golden Retriever standard. Slightly shorter face coat and athletic build suggest field-line Golden or Golden-Lab mix. Confidence limited by image angle — tail feathering not fully visible.",
    "characteristics": [
      "medium-long golden coat with feathering",
      "broad skull with gentle stop",
      "pendant ears set at eye level"
    ]
  }
}
品种识别 - Poomi Docs