Topview-api
    Topview-api
    • API文档
    • Avatar Marketing Video
      • script
        • list script content
        • update script content
      • submit task
        POST
      • query task
        GET
      • export
        POST
    • Video Avatar
      • Video Avatar API Usage
      • submit task
        POST
      • query task
        GET
    • Product Avatar
      • Product Avatar API Usage
      • Replace Product Image
        • submit task
        • query task
      • Image2Video
        • submit task
        • query task
      • Category Query
        GET
      • Public product avatar Query
        GET
    • Product AnyShoot
      • Replace Product Image
        • submit task
        • query task
      • Template Category
        GET
      • Template List
        GET
    • Common Task
      • image2Video
        • submit task
        • query task
    • Scraper
      • submit scraper task
        POST
      • query scraper task
        GET
    • Upload
      • Get Upload Credential
        GET
      • Get Upload Check
        GET
    • check notice url
      POST
    • Voice Query
      GET
    • Ethnicity Query
      GET
    • AiAvatar Query
      GET
    • Caption List
      GET

      Ethnicity Query

      Developing
      GET
      /v1/ethnicity/list
      查询人种列表

      Request

      Query Params
      scene
      enum<string> 
      required
      使用人种列表的场景
      Allowed values:
      video_avatarproduct_avatar
      pageNo
      integer 
      optional
      页码
      pageSize
      integer 
      optional
      每页条数
      Header Params
      Authorization
      string 
      optional
      Topview-Uid
      string 
      optional

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET 'https://api.topview.ai/v1/ethnicity/list?scene&pageNo&pageSize' \
      --header 'Authorization;' \
      --header 'Topview-Uid;'

      Responses

      🟢200OK
      application/json
      Body
      code
      string 
      required
      message
      string 
      required
      result
      array [object {2}] 
      required
      ethnicityId
      string 
      required
      人种ID
      ethnicityName
      string 
      required
      人种名
      Example
      {
          "code": "string",
          "message": "string",
          "result": [
              {
                  "ethnicityId": "string",
                  "ethnicityName": "string"
              }
          ]
      }
      Modified at 2025-05-26 02:47:40
      Previous
      Voice Query
      Next
      AiAvatar Query
      Built with