Getting started
This guide gets you from zero to a successful round-trip against the test environment. It assumes nothing besides curl (or fetch / requests) and a frontal-face JPEG of at least 600×600 pixels.
-
Pick or grab a test image.
Any frontal-face JPEG of at least 600×600 pixels works. Strong even lighting and a neutral background give the cleanest results.
-
Send the image.
Terminal window curl -X POST \"https://partner-test.revieve.com/api/3/analyzeImage/?skintone=0&gender=unknown&components=wrinkles,redness,acne,skin_age" \-F "partner_id=jmlv6b2qtS" \-F "image=@./selfie.jpg"const form = new FormData();form.append("partner_id", "jmlv6b2qtS");form.append("image", fileInput.files[0]);const url = new URL("https://partner-test.revieve.com/api/3/analyzeImage/");url.searchParams.set("skintone", "0");url.searchParams.set("gender", "unknown");url.searchParams.set("components", "wrinkles,redness,acne,skin_age");const res = await fetch(url, { method: "POST", body: form });const data = await res.json();import requestswith open("selfie.jpg", "rb") as f:res = requests.post("https://partner-test.revieve.com/api/3/analyzeImage/",params={"skintone": 0,"gender": "unknown","components": "wrinkles,redness,acne,skin_age",},data={"partner_id": "jmlv6b2qtS"},files={"image": f},)data = res.json() -
Read the top-level response.
{"message": "OK","face_area": { "bounding_box": [...], "rotation": -2.1 },"status": [],"results": [{ "description": "wrinkles", "value": 0.34, "message": "Ok", "..." },{ "description": "redness", "value": 0.18, "message": "Ok", "..." }]}message: "OK"confirms the call succeeded with no quality issues.- Each entry in
results[]is one component you asked for. status[]is empty here; if a code shows up, see Interpreting results.
-
Iterate on the
componentslist.Trim it to exactly what your UI uses. Fewer components → faster response, smaller payload.
What’s next
Section titled “What’s next”- Authentication — the Partner-ID model in detail.
- Your first skin analysis — a longer walk-through that wires the response into a UI.
- Interpreting results — how to render scores, masks, and overlays.
- API reference — every parameter, every response field.