Analysis + Advanced Report
Run a Skin Analysis + Report task.
Changed onAI tasks are asynchronous. Prefer webhook-based completion handling when the feature supports webhooks. Configure your webhook endpoint, verify webhook signatures, and use the received task_id to query the task result after a success or error notification. See the webhook integration guide for setup and verification details.
If webhooks are not supported or cannot be used in your integration, implement polling. After submitting an AI task, poll the status endpoint at regular intervals (e.g., every 10 seconds) until the task status is success or error.
post/s2s/v2.1/task/skin-analysis-report
Request
- Base URLhttps://yce-api-01.makeupar.com
- AuthHTTP bearer
Request body
Example request
{
"src_file_url": "https://example.com/selfie.jpg",
"dst_actions": [
"hd_wrinkle",
"hd_pore",
"hd_texture",
"hd_acne"
],
"miniserver_args": {
"color_dark_background_hd_pore": "3D3D3D",
"opacity_dark_background_hd_pore": 0.4,
"color_dark_background_hd_wrinkle": "3D3D3D",
"opacity_dark_background_hd_wrinkle": 0.4
},
"format": "zip",
"pf_camera_kit": true,
"advanced_report": {
"language": "cht",
"tone": "direct",
"country": "Taiwan",
"city": "Taipei"
}
}Response
Successful execution of Skin Analysis + Report task
Example response
{
"status": 200,
"data": {
"task_id": "grH0CvsgXuAIHLUzD0V1Ol34hoet3R1tvdbtiVHrDb6_UqCLKIejAIajwxrhOAfe"
}
}Changes
- info
endpoint added
- info