Declaring a file structure for a given token.
In order to use your GLB models (e.g. clothes, hair) to create an avatar, you must declare model IDs in the models config.
Model config example:
There are 2 types of models declared here: a hair model and a body model.
"hair_male", "hair_female", "body_01" are IDs for each GLB model you upload.
Copy {
" hair " : [
" hair_male " , " hair_female "
],
" body " : [
" body_01 "
]
}
Method for loading the schema
PUT https://api.metahumansdk.io/glb_const/schema
Declaring a file structure for a given token.
Check in ERRORS section for possible error response examples.
Uploading the GLB model declared in your schema.
A token is used for authorization.
circle-exclamation
Note: the GLB models you upload must fit our embbeded head size and position.
Method for loading GLB models
PUT https://api.metahumansdk.io/glb_const/glb
Upload your GLB model declared in your schema.
Check in ERRORS section for possible error response examples.
Assembling the GLB model of a 3D avatar.
Embbeded head model description:
blendshapes: ARKit standard
Method for constructing result GLB
POST https://api.metahumansdk.io/glb_const/assemble
Assembling a GLB model of an 3D avatar.
Server and token health check.
Method for checking status
POST https://api.metahumansdk.io/glb_const/status
Server and token health check.
Check in ERRORS section for possible error response examples.