Set Customization
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
PUT
/api/v1/avatars/{id}/customization
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://dev-cn.your-api-server.com/api/v1/avatars//customization' \
--header 'Content-Type: application/json' \
--data-raw '{
"assets": {
"clothing": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"hair_and_headwear": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"color": "#aabbcc"
},
"eyewear": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"color": "#aabbccaa"
},
"footwear": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
},
"body": "body_0",
"age": "adult",
"metadata": {
"property1": "string",
"property2": "string"
},
"bone_scale": {
"head": 0,
"arms": 0,
"chest": 0
},
"skin_tone_correction": 0
}'
响应示例响应示例
202 - 示例 1
null
请求参数
Path 参数
id
string <uuid>
Id
Body 参数application/json
返回响应
修改于 2024-05-30 08:40:21