耳道分析
上传宠物耳朵照片,分析感染、耳螨、耳垢堆积等耳部状况。
POST
/v1/ear-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/ear-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": {
"severity": "moderate",
"symptoms": [
"brown waxy discharge",
"redness of ear canal",
"mild swelling of ear flap"
],
"assessment": "Brown waxy discharge with thick consistency is characteristic of Malassezia yeast overgrowth. Canal redness shows active inflammation. Skin hyperpigmentation inside the ear suggests this may be recurring. Untreated yeast infections can progress to the middle ear, which is harder to treat.",
"health_score": 4,
"ear_condition": "yeast infection (Malassezia)",
"possible_causes": [
"Malassezia yeast overgrowth",
"moisture trapped after bathing",
"underlying allergies"
],
"recommendations": [
"Vet visit for cytology and antifungal treatment",
"Do not use cotton swabs — use vet-recommended ear flush only",
"Dry ears thoroughly after water exposure",
"Ask about allergy testing if this is recurring"
],
"health_score_max": 10
}
}