Alibaba SegmentHair
AI Hair Mask Extractor.
Upload a clear portrait and isolate the visible hair area as a transparent cutout. Useful before hair color try-on, hairstyle edits, or creator retouch workflows.
Portrait workflow
20 credits

Upload a hair-visible portrait
The API works best when hair edges, shoulders, and background separation are visible.
Extract the hair area
The tool uses Alibaba SegmentHair to return the detected hair region as an image cutout.
Use it for beauty edits
Download the result or use it as a prep asset before color, style, and retouch workflows.