API Reference
Get estimated face attributes
curl --location 'https://public-api.mirror-ai.net/v2/attrs?face_id=<FACE_ID>' \
--header 'X-Token: <YOUR TOKEN HERE>'
Success - 200
{
"attrs": {
"age": "from_20_to_36",
"gender": "male",
"details": {
"bindi": {
"have_bindi": false
},
"brdmche": {
"tags": [
"None"
]
},
"ear": {
"width": "usual"
},
"earring": {
"has_earrings": false
},
"eye": {
"shape": "downturned"
},
"freckles": {
"freckles_strength": "none"
},
"glasses": {
"occasion": "none",
"style": "none",
"sunglasses": false
},
"hair": {
"fixation": false,
"fringe": false,
"hair_gender": "male",
"length": "short",
"parting": "none",
"structure+hair": "other"
},
"hat": {
"style": "without hat",
"type": "without hat"
},
"mouth": {
"type": "full upper lip"
},
"nasolabial_folds": {
"nasolabial_fold_strength": "no"
},
"nose": {
"5_classes": [
"greek",
"straight",
"plain"
],
"9_classes": [
"greek",
"straight",
"plain"
]
},
"oval": {
"gender": "unisex",
"shape": "round",
"type": "fat"
}
}
},
"ok": true
}
Last updated