
Hair Color Try-On
A new hair colour rendered on the user’s own hair, strand by strand.
For your type of company
For the market you serve
For what you want to build
Salons, spas, barbers and personal service businesses use Morphia — directly or through their booking software — to preview color, style and skin results.




A client says “warm brown, not too red”, the stylist pictures something else, and the consult takes chair time before anything is mixed.
Morphia shows the colour on the client’s own hair before the appointment.

The client adds a selfie in the salon or booking app. Morphia reads it once, so the colour preview, the skin reading and the suggested service all describe the person the stylist will see.
Landmarks68+ pointsRegion masksSkin, lips, hairToneLab*, lighting removedInput qualityOn every readThe photo is uploaded once. Every result comes with a confidence and a reason.
· One key· One schema· One job per request
Reach it from
RESTSalons
MCPSoon
SDKTS, Python
DeviceScreens
Read onceasset_id asset_addf4r
Landmarks68+ pointsRegion masksSkin, lips, hair, teeth, nailsToneLab*, lighting removedInput qualityScored on every read
Analyze
Transform
Simulate
Face
Skin
Hair
Teeth
Hands
BodyEarly access
Every call references one asset_id. Nothing is re-uploaded or re-detected.




Visualize. Hair Color Try-On renders the colour strand by strand on her photo.
POST /v1/assets
asset_6pa8ad
Same image for every endpoint
200 · succeededA colour preview from one tool and a skin read from another describe two different clients.
With Morphia, one upload serves the preview and the booking.
Each capability answers one question about the client, from a selfie.

A new hair colour rendered on the user’s own hair, strand by strand.

Concern scores from 0 to 10, each with a mask the agent can point at.

Foundation, lipstick and lip liner, layered in order on the user’s own photo.

Polish and finish on the user’s own hand, with every nail found first.

Warm, cool or neutral, with a confidence the agent can quote.

Tone in Lab* with the lighting removed, so a match holds photo to photo.

Separates the hair from the face and the background, so a colour lands only on hair.

Landmarks, proportions and symmetry as numbers, read from the same mesh.
Four salon and spa moments, one selfie. Every preview says how sure it is.
Clients see the color on their own hair.



Your selfie
Booked · Sat 10:30 with Elif
Each shade tap is one fast-preview call on the same asset_id. The shade the client books is rendered once more in full quality, for the booking and for the stylist.
try_on · hair_colorA skin reading before a facial or treatment.
Region mapType III

Waiting for the selfie…
Concern scores come from Skin Analysis, the phototype from the Fitzpatrick endpoint. Both arrive with the intake; the clinician decides.
skin_analyses + fitzpatrick_typesPolish on the client’s own hands (coming soon).
5 nails foundRose 12 · gloss
Your hand
Saved to your looks
Every nail is segmented on the user’s photo, so the polish stays on the nail, follows its shape and keeps the shine of the finish.
nails · colour · finishTurn a selfie into the right booking.




Waiting for the photo…
The salon’s backend calls REST and passes the renders to its assistant. Each shade is one /try_on call.
undertones + try_onexport MORPHIAONE_API_KEY="pk_test_..." MORPHIAONE_BASE_URL="https://api.morphiaone.ai"X-API-KeyASSET_ID=$(curl -s "$MORPHIAONE_BASE_URL/v1/assets" -H "X-API-Key: $MORPHIAONE_API_KEY" -H "Content-Type: image/jpeg" --data-binary @face.jpg | jq -r .id)
curl -s -D h.txt "$MORPHIAONE_BASE_URL/v1/skin/analyses" -H "X-API-Key: $MORPHIAONE_API_KEY" -H "Idempotency-Key: run-001" -H "Content-Type: application/json" -d '{"inputs":[{"role":"source","asset_id":"'$ASSET_ID'"}],"concerns":["acne","redness"]}'succeededcurl -s -H "X-API-Key: $MORPHIAONE_API_KEY" "$MORPHIAONE_BASE_URL$(grep -i ^location h.txt | cut -d' ' -f2 | tr -d '\r')"
# → "output": { "concerns": [{ "concern": "acne", "score": 8.7 }, …] }MORPHIAONE_API_KEY and MORPHIAONE_BASE_URLnpm install --save-exact @morphiaone/sdk@0.2.2.mts with npx tsximport { readFile } from "node:fs/promises"; import { MorphiaOne } from "@morphiaone/sdk";
const client = new MorphiaOne({ apiKey: process.env.MORPHIAONE_API_KEY, baseUrl: process.env.MORPHIAONE_BASE_URL });
const source = await client.assets.upload(await readFile("face.jpg"));
const job = await client.skin.analyze({ assetId: source.id, concerns: ["acne", "redness"], idempotencyKey: "run-001" });const done = await client.jobs.wait(job.id);
if (done.output?.known && done.output.type === "skin.analysis") done.output.concerns.forEach((c) => console.log(c.concern, c.score));MORPHIAONE_API_KEY and MORPHIAONE_BASE_URLpython -m pip install morphiaone==0.2.2import os; from pathlib import Path; from morphiaone import MorphiaOne, SkinAnalysisOutput
client = MorphiaOne(api_key=os.environ["MORPHIAONE_API_KEY"], base_url=os.environ["MORPHIAONE_BASE_URL"])
source = client.assets.upload(Path("face.jpg"))
job = client.skin.analyze(asset_id=source.id, concerns=["acne", "redness"], idempotency_key="run-001")done = client.jobs.wait(job.id, timeout=240)
if isinstance(done.output, SkinAnalysisOutput): print([(r.concern, r.score) for r in done.output.concerns])curl -fsSL https://cli.morphiaone.ai/ | shGet early access →Pricing is agreed per account during early access. Failed jobs are never charged.
Upload the image once, submit a job and poll it, or let the SDK wait for you.
Every result says how sure it is and why, so the agent can explain a pick or ask for a retake.
Readings describe appearance. They are not a diagnosis. No face recognition and no attractiveness scores.
Start with an API key. Upload a photo, pick a colour, see it on the hair.
uploadedasset_id
