Create Avatars
Create Avatars
Query Parameters
collection any
application/json
Request Body required
name Name required
output_format object
style object
img Img
head_id Head Id
body_id uuid required
collection_id Collection Id
create_thumbnail Create Thumbnail
Default value: false
optimize Optimize
Default value: false
Only available for .glb files. You need to load KHR_mesh_quantization EXT_meshopt_compression, KHR_texture_transform extensions in your environment to be able to use optimized avatars.
use_lod Use Lod
Default value: false
When sending lod=True we're gonna generate your avatar with different level of detail, but process will take longer
Responses
- 201
- 422
Successful Response
application/json
Schema
Example (from schema)
Schema
name Name required
output_format object
style object
id uuid required
avatar_link uri required
Possible values: non-empty
created_at date-time required
updated_at date-time required
thumbnail_url Thumbnail Url
body_id Body Id
head_id Head Id
lod object
halfbody_url Halfbody Url
{ "name": "string", "output_format": "glb", "style": "phr", "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "avatar_link": "string", "created_at": "2025-01-10T08:50:52.529Z", "updated_at": "2025-01-10T08:50:52.529Z", "thumbnail_url": "string", "body_id": "string", "head_id": "string", "lod": {}, "halfbody_url": "string" }
Validation Error
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
detail object[]
loc object[] required
anyOf
MOD1
MOD2
string
integer
msg Message required
type Error Type required
{ "detail": [ { "loc": [ "string", 0 ], "msg": "string", "type": "string" } ] }
Loading...