Poomi
APP

尿液分析

上传宠物尿液照片,分析颜色、清澈度等视觉指标,检测潜在健康问题。

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

API Playground

语言

请求示例

bash
curl -X POST https://poomi.cn/api/v1/urine-analysis \
  -H "Authorization: Bearer pk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "base64_encoded_data",
    "animalType": "dog",
    "language": "zh"
  }'

响应字段

字段类型必填描述
colorstringObserved urine color
claritystringObserved urine clarity or cloudiness
summarystringA detailed 4 to 6 sentence owner-facing summary that explains the key visible observations, the overall interpretation, any important limitation, and the main takeaway for the user
severitystringOverall severity of the visible urine findings, written in the requested response language
home_carearray<string>Practical at-home care or monitoring steps with enough context to be useful. Must contain at least 3 items, even when the findings look normal.
vet_advicearray<string>Veterinary follow-up guidance with concrete triggers, urgency, or timeframes when supported by the visible findings. Use an empty array when no clinic follow-up is supported.

响应 Schema

json-schema
{
  "type": "object",
  "required": [
    "severity",
    "color",
    "clarity",
    "summary",
    "home_care",
    "vet_advice"
  ],
  "properties": {
    "color": {
      "type": "string",
      "description": "Observed urine color"
    },
    "clarity": {
      "type": "string",
      "description": "Observed urine clarity or cloudiness"
    },
    "summary": {
      "type": "string",
      "description": "A detailed 4 to 6 sentence owner-facing summary that explains the key visible observations, the overall interpretation, any important limitation, and the main takeaway for the user"
    },
    "severity": {
      "type": "string",
      "description": "Overall severity of the visible urine findings, written in the requested response language"
    },
    "home_care": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 3,
      "description": "Practical at-home care or monitoring steps with enough context to be useful. Must contain at least 3 items, even when the findings look normal."
    },
    "vet_advice": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Veterinary follow-up guidance with concrete triggers, urgency, or timeframes when supported by the visible findings. Use an empty array when no clinic follow-up is supported."
    }
  },
  "additionalProperties": false
}

响应示例

json200 OK
{
  "success": true,
  "request_id": "req_xxxxxxxx",
  "data": {
    "color": "pale yellow",
    "clarity": "clear",
    "summary": "The visible urine appears within normal limits in this image. It looks pale yellow and fairly clear, without obvious blood, heavy sediment, or marked discoloration. That appearance is generally compatible with adequate hydration when the pet is urinating normally and acting well. Image-only review cannot confirm odor, urine volume, frequency, pain, or microscopic findings, so changes in bathroom habits remain important to watch.",
    "severity": "normal",
    "home_care": [
      "Keep fresh water available at all times to support steady hydration",
      "Maintain normal litter box or potty routines and keep them clean",
      "Watch urination frequency, volume, and color over the next few days for any changes"
    ],
    "vet_advice": []
  }
}
尿液分析 - Poomi Docs