Easy - Head Visualization

At this stage, it is assumed that you have completed the 3D Face Reconstruction and 3D Hair Reconstruction piplines and obtained uv.png , head_config.json and head.glb files.

token="ENTER_YOUR_TOKEN"

curl -X 'POST' 'https://api.metahumansdk.io/glb_const/assemble' \
    -H 'accept: application/json' \
    -H 'Content-Type: multipart/form-data' \
    -F "token=$token" \
    -F 'head_uv=@uv.png;type=image/png' \
    -F 'head_config=@head_config.json;type=application/json' \
    -F 'custom_models=@hair.glb;type=image/png' \
    -F 'add_facs=true' > head.glb

After completing all stages, you will get a GLB model head.glb .

Last updated