Analyze a person's skin from a single selfie using YouCam (Perfect Corp) AI. Returns 16 skin-condition scores plus skin type, as a readable report. Use when the user wants a skin analysis / skin report / skin score — incl. "幫我看膚質", "膚況分析", "how's my skin", "skin report". Do NOT use for skin-tone/facial attributes (that's facial-consultant), makeup, or hair.
Documents
Facial Consultant
Try itAnalyze skin tone and facial attributes from a single selfie using YouCam (Perfect Corp) AI. Returns skin/eye/eyebrow/lip/hair colors plus facial feature shapes and golden-ratio proportions, as a readable report. Use for "測膚色", "臉型分析", "facial attributes". Do NOT use for skin-condition scoring (that's skin-analysis-expert), makeup, or hair try-on.
What it does
Analyze skin tone and facial attributes from a single selfie using YouCam (Perfect Corp) AI. Returns skin/eye/eyebrow/lip/hair colors plus facial feature shapes and golden-ratio proportions, as a readable report. Use for "測膚色", "臉型分析", "facial attributes". Do NOT use for skin-condition scoring (that's skin-analysis-expert), makeup, or hair try-on.
The skill document
Facial Consultant
An analysis skill that can call two APIs. There is no run.py: you (the agent) run the flow
here through youcam_core.py, and you also do the golden-ratio interpretation from the
references.
When to trigger
When the user wants their skin tone, facial features / face shape, or facial proportions. For skin-condition scores, hand off to skin-analysis-expert.
Ask first (this skill has multiple analyses)
Before running anything, ask the user what they want and state the credit cost of each:
- Skin tone — colors of skin/eyes/brows/lips/hair (
skin-tone-analysis) - Facial attributes & ratios — feature shapes, face shape, golden-ratio proportions (
face-attr-analysis) - Both
Get the per-call cost with
python scripts/youcam_core.py cost --feature skin-tone-analysisand--feature face-attr-analysis, tell the user, and only run the ones they choose.
Get the latest API spec (do this every run)
Read the doc section(s) for the chosen analyses and open the latest version for the current endpoint / parameters:
- Skin tone: https://docs.perfectcorp.com/reference/ai_skin_tone_analysis.md
- Facial attributes / ratio: https://docs.perfectcorp.com/reference/ai_face_analyzer.md
If newer than
api-fallback.yaml, pass--version.
Prerequisites
- A clear, front-facing, single-person selfie. skin-tone and face-attr accept jpg/jpeg only (no png).
python scripts/youcam_core.py validate-key(0 credits); if the key is not set, guide the user to set it.
Run (only the chosen analyses)
python scripts/youcam_core.py run --feature skin-tone-analysis --src_file --param face_angle_strictness_level=high
python scripts/youcam_core.py run --feature face-attr-analysis --src_file \
--param face_angle_strictness_level=high \
--param features='["eyeShape","eyeSize","eyeDistance","eyebrowShape","cheekbones","faceShape","lipShape","noseWidth","noseLength","eyeColor","lipColor","eyebrowColor","hairColor","horizontalThird","verticalFifth","faceAspectRatio","upperLipToLowerLip"]'
Interpret colors and features with references/guide.md, and do the golden-ratio bucketing
yourself (buckets and golden targets are in that file).
Output rules
- For colors, report colors only; do not infer an undertone that was not returned.
- Ratios drift slightly between runs and
faceShapemay not be returned; label ratios as approximate and skip missing values instead of filling them in. - Always end with this note: "This is an AI-based facial analysis for reference only. It is not a medical or cosmetic-surgery assessment; results can vary with lighting and pose."
Related skills
Recommend and preview makeup looks based on the user's face shape and skin tone, using YouCam (Perfect Corp) AI. Analyzes the selfie, suggests suitable looks, then renders a virtual makeup try-on image. Use for "推薦妝容", "幫我上妝", "makeup look", "virtual makeup". Do NOT use for skin-condition scoring, hair, or clothes.
Recommend a hairstyle and hair color based on the user's face shape and skin tone, then preview them with YouCam (Perfect Corp) AI. Use for "推薦髮型", "換髮色", "hairstyle advice", "hair color try-on". Do NOT use for hair health diagnostics (that's hair-diagnostics), skin, makeup, or clothes.
Diagnose hair-health metrics — density, type, frizziness, length — from a single selfie using YouCam (Perfect Corp) AI, and return one combined report. Use for "頭髮體檢", "髮質分析", "hair diagnostics", "hair health report". Do NOT use for hairstyle/color try-on (that's hair-color-style-advisor), skin, makeup, or clothes.
Analyze portrait photos to recommend the most flattering hairstyle based on face shape, facial features, hair texture, and personal style. Use when the user uploads a portrait/headshot photo and asks for hairstyle recommendations, haircut advice, or wants to see how they would look with a suggested
Analyzes an uploaded photograph, provides detailed feedback on exposure, focus, composition, lighting, and suggests concrete camera settings and shooting technique. Generates a simulated improved image based on the recommendations.