Informationen zur Statusabfrage finden Sie im Polling-Leitfaden.
Sicherheit
BearerAuthenticationV2
Any of:
Die Datei-URLs aus der File API. Die Datei-IDs in der Reihenfolge der Quellbilder sind 'frontFace', 'rightFace' und 'leftFace'. Geben Sie entweder 'src_file_urls' oder 'src_file_ids' an.
Beispiel:
[ "https://example.com/selfie.jpg", "https://example.com/selfie.jpg", "https://example.com/selfie.jpg" ]
- https://yce-api-01.makeupar.comhttps://yce-api-01.makeupar.com/s2s/v2.0/task/hair-frizziness-detection
curl -i -X POST \
https://yce-api-01.makeupar.com/s2s/v2.0/task/hair-frizziness-detection \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"src_file_urls": [
"https://example.com/selfie.jpg",
"https://example.com/selfie.jpg",
"https://example.com/selfie.jpg"
]
}'Antwort
{ "status": 200, "data": { "task_id": "grH0CvsgXuAIHLUzD0V1Ol34hoet3R1tvdbtiVHrDb6_UqCLKIejAIajwxrhOAfe" } }