Identificación de raza
Sube una foto de tu mascota para identificar su raza, composición mestiza y características específicas de la raza.
POST
/v1/breed-identificationImagen5 Creditos por llamada
| Campo | Tipo | Requerido | Descripción |
|---|---|---|---|
image | string | Sí | Datos de imagen codificados en Base64 (JPG/PNG/WEBP, máx 4MB) |
animalType | string | No | Tipo de animal para análisis (ej. dog, cat, rabbit, hamster) |
language | string | No | Código de idioma de respuesta (en, zh, es) |
API Playground
Idioma
Ejemplo de solicitud
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"
}'Ejemplo de respuesta
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"
]
}
}