3D Hair Reconstruction
Last updated
Last updated
HTTP type | name |
---|---|
Reconstruction 3D hair model in GLB format from photo.
Some details about hair model:
number of vertices
in volume mode: from 10000 to 20000
in card mode: from 15000 to 25000
material
in volume mode: base color from photo
in card mode: UV texture
location and scale: corresponds to the head from GLB Constructor Service
blendshapes: coming soon
POST
https://api.metahumansdk.io/hair_recon/run_pipeline
Reconstruction 3D hair model in GLB format from photo.
Name | Type | Description |
---|---|---|
POST
token*
string
Registered token.
image_bytes*
binary
Photo of a person in full face or half a turn, in which hair is clearly visible. Supported file formats: JPG, PNG, HEIC. Maximum file size: 10 MB.
mode
string
Hair reconstruction mode: 'card' or 'volume'. Mode 'card' is used by default.
hair_color
string
Custom hair color as hex triplet. Default color is predicted from photo.