Dieser Endpunkt startet die Hautton-Analyse. Sie müssen eine Quelldatei (per URL oder Datei-ID) angeben und optional die Strenge der Gesichtswinkel festlegen. 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"
- https://yce-api-01.makeupar.comhttps://yce-api-01.makeupar.com/s2s/v2.0/task/skin-tone-analysis
curl -i -X POST \
https://yce-api-01.makeupar.com/s2s/v2.0/task/skin-tone-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"
}'Antwort
{ "status": 200, "data": { "task_id": "grH0CvsgXuAIHLUzD0V1Ol34hoet3R1tvdbtiVHrDb6_UqCLKIejAIajwxrhOAfe" } }