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

      Create Export

      开发环境
      http://dev-cn.your-api-server.com
      开发环境
      http://dev-cn.your-api-server.com
      POST
      /api/v1/exports/new
      Exports a specified avatar.
      The endpoint works the following way:
      1.
      You send a request to the /exports/new endpoint.
      If this version of avatar wasn't exported yet, the response will contain
      status='pending' and the export task will be created. The url will be null.
      If it was successfully exported previously, the response will contain
      status='ready' and url will contain a link to the result. The URL is temporary and can only be
      used to download model to your servers. Don't store it to the database.
      2.
      If the task was created on step 1, on its completion avaturn will send an export.ready webhook,
      which will contain a temporary link to the export result.
      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.

      请求参数

      Query 参数

      返回响应

      🟢200Successful Response
      application/json
      Body

      🟠422Validation Error
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'http://dev-cn.your-api-server.com/api/v1/exports/new?avatar_id'
      响应示例响应示例
      200 - 示例 1
      {
          "status": "pending",
          "url": "string"
      }
      修改于 2024-05-30 08:40:21
      上一页
      Render User Avatar Async
      下一页
      AssetSlot
      Built with