Poomi

Análisis de vómito

Sube una foto del vómito de tu mascota para analizar su composición, color y textura en busca de indicadores de salud.

POST/v1/vomit-analysis
Imagen5 Creditos por llamada
CampoTipoRequeridoDescripción
imagestringDatos de imagen codificados en Base64 (JPG/PNG/WEBP, máx 4MB)
animalTypestringNoTipo de animal para análisis (ej. dog, cat, rabbit, hamster)
languagestringNoCódigo de idioma de respuesta (en, zh, es)

API Playground

Idioma

Ejemplo de solicitud

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

Ejemplo de respuesta

json200 OK
{
  "success": true,
  "request_id": "req_xxxxxxxx",
  "data": {
    "type": "bile",
    "color": "bright yellow-green",
    "contents": [
      "bile fluid",
      "traces of foam"
    ],
    "severity": "moderate",
    "assessment": "Yellow-green color indicates bile from the upper small intestine, not stomach contents. Absence of food points to bilious vomiting syndrome from prolonged fasting. The foamy texture shows gastric acid mixing with bile. If recurring more than once weekly, may signal chronic gastritis.",
    "health_score": 5,
    "possible_causes": [
      "bilious vomiting syndrome",
      "prolonged empty stomach",
      "early pancreatitis"
    ],
    "recommendations": [
      "Offer a small meal now to neutralize stomach acid",
      "Split daily food into 3-4 smaller meals",
      "Add a late-night snack to prevent morning bile vomiting",
      "Vet visit if this recurs more than twice a week"
    ],
    "health_score_max": 10
  }
}
Análisis de vómito - Poomi Docs