Install
openclaw skills install @youcam-api/youcam-beauty-advisorRecommend 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.
openclaw skills install @youcam-api/youcam-beauty-advisorAn analysis + generation skill: analyze face shape and skin tone, then recommend and preview
a makeup look. Run the flow here through scripts/youcam_core.py.
When the user wants a makeup recommendation or a virtual try-on. For skin scores, hair, or clothes, hand off to the matching skill.
Before generating, ask the user which they want, and tell them the credit cost of each option:
look-vto)makeup-vto)
Get costs with python scripts/youcam_core.py cost --feature look-vto and --feature makeup-vto
(and --feature face-attr-analysis / --feature skin-tone-analysis for the analysis step),
tell the user, and only run what they choose.Read the doc section(s) for the steps you will run and open the latest version for endpoints / parameters:
python scripts/youcam_core.py validate-key (0 credits) to confirm the key. If it is not set,
tell the user to get one at https://yce.perfectcorp.com/api-console and set the
YOUCAM_API_KEY env var, or create credentials.json in the skill root (see
credentials.example.json for the format).python scripts/youcam_core.py run --feature face-attr-analysis --src_file <photo> --param features='["faceShape","faceAspectRatio","eyeShape","lipShape"]'
(features is required and picks which attributes to measure), and
run --feature skin-tone-analysis for colors.
faceshape: one of Triangle, Diamond, Heart, InvTriangle,
Oblong, Oval, Round, Square, or Unknown; references/guide.md has advice for Round, Oblong, Square, and Heart.Unknown, don't guess a shape. face_aspect_ratio comes back as [1, r] (ideal
1 : 1.46): r above about 1.6 means a long face, below about 1.3 a short/wide one. Use it
only for that long-vs-wide advice, and keep the rest general.references/guide.md to pick a look/colors from face shape + skin tone.python scripts/youcam_core.py templates --feature look-vto
(0 credits; each has an id, title, and thumb image; pass --starting_token <next_token>
for the next page), let the user pick one, then
run --feature look-vto --src_file <photo> --param template_id=<id>run --feature makeup-vto --src_file <photo> --param effects='[{...}]'
(each effects item is one category; see the doc's category schema and pattern catalogs)data.results.url.run prints "task_status": "running", the task is still processing and
run stopped waiting. Do not run it again, since that starts a new task and charges again.
Check back with python scripts/youcam_core.py status --feature <feature> --task_id <task_id>,
using the task_id from that output, until task_status is success or error. A task_id
stays valid for 24 hours.