Skip to content

APIs at a glance

This site documents the Skin Analysis and Product Recommendations APIs — both server-side, image- or data-in / JSON-out. For real-time webcam-based virtual try-on, use Revieve VTO — a separate browser-side product with its own face tracking. The split:

You want…Use
Per-metric skin analysis (wrinkles, redness, age, …)Skin Analysis API (this site)
Catalog-aware product recommendationsProduct Recommendations API
Real-time makeup try-on (lipstick, eyeshadow, full looks)Revieve VTO
Hair-colour try-onRevieve VTO / AI Hair Color Artist

A single POST /analyzeImage/ endpoint that accepts a multipart-encoded JPEG and a small set of query parameters. Returns a JSON document containing:

  • results — per-component findings (score, regional measurements, masks). Each finding also has its own message and local_warnings for problems that affect only that metric.
  • face_area — bounding box and face rotation.
  • status — global warning and error codes, expected to affect all or most metrics (see Status codes).
  • message — a one-word summary of status: OK (no codes), Warning (only warnings; the analysis ran) or Error (at least one error; the analysis could not run).
  • inverse_color_balance_rb — inverse white-balance factors [invR, invB, luminance] for re-applying the image’s colour cast to measured colours (see Interpreting results).

You ask for what you need via the components query parameter. Common picks:

Use caseComponents
Skin assessmentwrinkles, redness, hyperpigmentation, acne, pore_dilation, skin_age
Foundation shade matchmakeup
Hair attribute readouthair

See the full reference at POST /analyzeImage/.

Catalog-aware ranked recommendations. You provide your catalog taxonomy and optionally pass through analysis output and user preferences.

See the reference at /api/product-recommendations/.

Capture image → Skin Analysis → render results → Product Recommendations using analysis output as input. This is the “expert consultation” pattern.

EnvironmentBase URLWhen to use
Testhttps://partner-test.revieve.com/api/3/Evaluation, integration, QA.
Productionhttps://partner.revieve.com/api/3/Your live traffic.

When your contract specifies a region, Revieve gives you a regional production host instead, with the same /api/3/ path.

The test environment receives new CV versions before production, so a component documented here can reach test first; the changelog says which version each environment runs.

The Partner ID jmlv6b2qtS is a shared demo ID for use with the test environment. It is for evaluation and testing only, and Revieve may replace it at any time; if it stops working, find the current one here in the docs or ask the Revieve team. Revieve tells you which Partner ID to use in each environment.