このエンドポイントは、バーチャルメイク処理を開始します。ソースファイル(URL または File ID 経由)を提供し、定義されたエフェクトスキーマを使用して適用するエフェクトを指定する必要があります。タスクは非同期で処理され、このレスポンスで返される task_id を使用してステータスを確認できます。
セキュリティ
BearerAuthenticationV2
- https://yce-api-01.makeupar.comhttps://yce-api-01.makeupar.com/s2s/v2.0/task/makeup-vto
curl -i -X POST \
https://yce-api-01.makeupar.com/s2s/v2.0/task/makeup-vto \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"src_file_url": "https://example.com/selfie.jpg",
"version": "1.0",
"effects": [
{
"category": "skin_smooth",
"skinSmoothStrength": 50,
"skinSmoothColorIntensity": 50
}
]
}'レスポンス
{ "status": 200, "data": { "task_id": "grH0CvsgXuAIHLUzD0V1Ol34hoet3R1tvdbtiVHrDb6_UqCLKIejAIajwxrhOAfe" } }