Quick Start
Make your first successful call in under five minutes, using the pore analysis endpoint.
1. Get your key
Sign in at lushair.ai → My Account → API Keys. Copy the key beginning lush_live_sk_.
2. Prepare images
Pore analysis takes three captures of the same skin area, one per light source, each as a publicly reachable URL: image_url, led_image_url, and polarized_image_url. Private links, blob: URLs and expiring signed URLs will fail.
3. Call the API
curl -X POST https://api.glamskin.ai/analysis_skin_pore \
-H "X-API-Key: lush_live_sk_..." \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://your-cdn.example.com/skin.jpg",
"led_image_url": "https://your-cdn.example.com/skin_led.jpg",
"polarized_image_url": "https://your-cdn.example.com/skin_polarized.jpg",
"language": "en"
}'4. Read the response
A real production response:
{
"code": 200,
"msg": "Analysis successful",
"light_type": "pore",
"score": 100.0,
"data": {
"pore_count": 0,
"pore_density": 0.0
},
"urls": {
"pore": "https://api.glamskin.ai/log/.../output/..."
}
}score— 0–100 health score for the analyzed dimension.data— measured values; fields vary by endpoint.urls— annotated result images rendered by the service.
For the full multi-dimension analysis (acne, blackheads, oil, pigment, sensitivity, skin tone), see the multi-position skin endpoint in the API Reference: same pattern, per-dimension score_sep scores and localized suggestion text in the response.
Errors you'll actually hit
Wrong domain → 404. Skin endpoints live on api.glamskin.ai only.
Missing field → 400 with the field named. The msg tells you exactly which parameter is absent.
Updated 21 days ago
