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
/api/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 3MB) |
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": "es"
}'Campos de respuesta
| Campo | Tipo | Requerido | Descripción |
|---|---|---|---|
species | string | Sí | Identified animal species |
breed | string | Sí | Single most likely breed or breed-group name |
confidence | number | Sí | Confidence score from 0 to 1 |
summary | string | Sí | A concise 2 to 4 sentence summary covering the visible traits that support the species and breed judgment, plus any important limitation |
Schema de respuesta
json-schema
{
"type": "object",
"properties": {
"species": {
"type": "string",
"description": "Identified animal species"
},
"breed": {
"type": "string",
"description": "Single most likely breed or breed-group name"
},
"confidence": {
"type": "number",
"description": "Confidence score from 0 to 1",
"minimum": 0,
"maximum": 1
},
"summary": {
"type": "string",
"description": "A concise 2 to 4 sentence summary covering the visible traits that support the species and breed judgment, plus any important limitation"
}
},
"required": [
"species",
"breed",
"confidence",
"summary"
],
"additionalProperties": false
}Ejemplo de respuesta
json200 OK
{
"success": true,
"request_id": "req_xxxxxxxx",
"data": {
"species": "dog",
"breed": "Golden Retriever",
"confidence": 0.88,
"summary": "This pet appears to be a dog, and the visible coat texture, head shape, and overall proportions are most consistent with a Golden Retriever. The feathered golden coat and soft retriever-like facial features support that reading. Confidence would be lower if the full body or tail were not clearly visible."
}
}