//
- Gesichtsmerkmale-Analyse: Task ausführen.
Gesichtsmerkmale-Analyse: Task-Status prüfen.
Gesichtsmerkmale-Analyse:...
Dieser Endpunkt startet die Gesichtsmerkmale-Analyse. Sie müssen eine Quelldatei (per URL oder Datei-ID) angeben und festlegen, welche Merkmale analysiert werden. Der Task wird asynchron verarbeitet; den Status prüfen Sie über die in dieser Antwort zurückgegebene task_id.
Sicherheit
BearerAuthenticationV2
Any of:
Strenge der Gesichtswinkelerkennung (Pitch, Yaw, Roll). Eine strengere Stufe sorgt für präzisere Ergebnisse der Gesichtsattributanalyse. Standard ist 'high'. optoins:
- strict: Pitch <= 4 Grad, Yaw <= 6 Grad, Roll <= 4 Grad
- high: Pitch, Yaw, Roll <= 10 Grad
- medium: Pitch, Yaw, Roll <= 15 Grad
- low: Pitch, Yaw, Roll <= 20 Grad
- flexible: Pitch, Yaw, Roll <= 30 Grad
Enum:"strict""high""medium""low""flexible"
Beispiel:"high"
Kategorien der AI Face Analysis
Face Analysis
- FACE: faceShape
- EYES: eyeShape eyeSize eyeAngle eyeDistance eyelid
- BROWS: eyebrowShape eyebrowThickness eyebrowDistance eyebrowShortness
- LIPS: lipShape
- NOSE: noseWidth noseLength
- CHEEKBONES: cheekbones
- AGE & GENDER: age gender
- COLORS: eyeColor hairColor eyebrowColor lipColor
Facial Ratios
- horizontalThird
- verticalFifth
- faceAspectRatio
- eyeAspectRatio
- eyebrowPosition
- eyebrowArch
- eyeHeightToEyebrowDistance
- noseAspectRatio
- noseWidthToMouthWidth
- noseToLipToChin
- upperLipToLowerLip
Items Enum:"eyeShape""eyeSize""eyeAngle""eyeDistance""eyelid""eyebrowShape""eyebrowThickness""eyebrowDistance""eyebrowShortness""cheekbones"
- https://yce-api-01.makeupar.comhttps://yce-api-01.makeupar.com/s2s/v2.0/task/face-attr-analysis
curl -i -X POST \
https://yce-api-01.makeupar.com/s2s/v2.0/task/face-attr-analysis \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"src_file_url": "https://example.com/selfie.jpg",
"face_angle_strictness_level": "high",
"features": [
"eyeShape"
]
}'Antwort
{ "status": 200, "data": { "task_id": "grH0CvsgXuAIHLUzD0V1Ol34hoet3R1tvdbtiVHrDb6_UqCLKIejAIajwxrhOAfe" } }