尿液分析
上传宠物尿液照片,分析颜色、清澈度等视觉指标,检测潜在健康问题。
POST
/v1/urine-analysis图片5 每次调用额度
| 字段 | 类型 | 必填 | 描述 |
|---|---|---|---|
image | string | 是 | Base64 编码的图片数据(JPG/PNG/WEBP,最大 4MB) |
animalType | string | 否 | 分析的动物类型(如:dog、cat、rabbit、hamster) |
language | string | 否 | 响应语言代码(en, zh, es) |
API Playground
语言
请求示例
bash
curl -X POST https://www.poomi.pet/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": "en"
}'响应示例
json200 OK
{
"success": true,
"request_id": "req_xxxxxxxx",
"data": {
"color": "dark amber",
"clarity": "slightly cloudy",
"severity": "moderate",
"assessment": "Dark amber indicates highly concentrated urine from insufficient water intake. Healthy urine should be pale to medium yellow. The slight cloudiness may indicate white blood cells, bacteria, or crystalline sediment — combined with high concentration, this raises UTI or crystal development concern.",
"health_score": 5,
"abnormalities": [
"concentrated dark color",
"mild turbidity"
],
"possible_causes": [
"dehydration",
"early urinary tract infection",
"crystal formation risk"
],
"recommendations": [
"Add a second water bowl or pet fountain",
"Mix water into dry food or switch to wet food temporarily",
"Vet urinalysis if cloudiness persists beyond 48 hours",
"Watch for straining or frequent small urinations"
],
"health_score_max": 10
}
}