Avaturn
    Avaturn
    • Create User
      POST
    • Delete User
      DELETE
    • New Session
      POST
    • List User Avatars
      GET
    • New Avatar
      POST
    • Get Customization
      GET
    • Set Customization
      PUT
    • Delete User Avatar
      DELETE
    • Render User Avatar Async
      POST
    • Create Export
      POST
    • 数据模型
      • Schemas
        • AssetSlot
        • AssetSlotWithColor
        • AssetSlotWithColor
        • AssetSlots
        • AvatarBody
        • AvatarListItem
        • AvatarReadyWebhook
        • BoneScale
        • CreateOrEditExistingSessionConfig
        • CreateSessionConfig
        • EditExistingSessionConfig
        • ExportReadyWebhook
        • ExternalAvatarCustomization
        • ExternalAvatarCustomization
        • HTTPValidationError
        • NewAvatarRequest
        • NewAvatarResponse
        • NewExportResponse
        • NewSessionRequest
        • NewSessionResponse
        • NewUserResponse
        • RenderReadyWebhook
        • RenderResult
        • RenderStatus
        • ScanStatus
        • ValidationError
        • Model
        • Model

      Get Customization

      开发环境
      http://dev-cn.your-api-server.com
      开发环境
      http://dev-cn.your-api-server.com
      GET
      /api/v1/avatars/{id}/customization
      Get current avatar customization.
      Customization is the combination of applied assets
      (clothes, hairstyles, accessories etc),
      as well as the body type and other parameters.
      NOTE: Behavior of this endpoint for avatars created by direct photo upload and
      not yet opened via browser UNDEFINED and can be changed in the future.
      Set customization via corresponding endpoint to get predictable behaviour.

      请求参数

      Path 参数

      返回响应

      🟢200Successful Response
      application/json
      Body

      🟠422Validation Error
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'http://dev-cn.your-api-server.com/api/v1/avatars//customization'
      响应示例响应示例
      200 - 示例 1
      {
          "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
      }
      修改于 2024-05-30 08:40:21
      上一页
      New Avatar
      下一页
      Set Customization
      Built with