- T9数字人API接口文档
- 数字人管理
- 视频合成
- 语音合成
- 声音克隆
- 个人信息
- apikey换取tokenPOST
我的数字人列表
POST
/roles/findModelList
角色管理
责任人:未设置
请求参数
Header 参数
token
string
必需
示例值:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IueuoeeQhuWRmEEiLCJpZCI6IjE0Mjk5OTAxODkzOTIwNzI3MDQiLCJ0eXBlIjoiMyIsImlhdCI6MTcyNzIyNDk5NCwiZXhwIjoxNzI3NjU2OTk0fQ.Vovvwoi79Gd40dEgkJ_WulV3zN0JIGtWOIzt1pWC00Q
Body 参数application/json
searchText
string
根据名称筛选
sex
number
可选
默认值:
0
type
number
可选
默认值:
0
pageIndex
number
页数
默认值:
1
pageSize
number
条数
默认值:
10
sort
number
可选
默认值:
10
modelId
number
模型id
示例
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/roles/findModelList' \
--header 'token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6IueuoeeQhuWRmEEiLCJpZCI6IjE0Mjk5OTAxODkzOTIwNzI3MDQiLCJ0eXBlIjoiMyIsImlhdCI6MTcyNzIyNDk5NCwiZXhwIjoxNzI3NjU2OTk0fQ.Vovvwoi79Gd40dEgkJ_WulV3zN0JIGtWOIzt1pWC00Q' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢201成功
application/json
Body
timestamp
string
当前时间
data
array [oneOf]
数据
array[string]
数据集
integer
总数量
status
integer
状态码
message
string
说明
示例
{
"timestamp": "2024-09-25 08:53:22",
"data": [
[
{
"rolesId": "1838215362257212776",
"rolesName": "123",
"rolesPhoto": "http://f1.t-9.cn/aihuman/AAS.jpg",
"rolesLabel": "",
"modelId": "1838215362240450560",
"type": 10,
"userId": "1837675470557115538",
"userName": "1AAA",
"clothesList": null,
"param": "",
"sex": 2,
"createDate": "2024-09-23T13:54:29.412Z",
"modifyDate": "2024-09-24T17:16:06.000Z",
"modelJson": "{\"Audit\":3,\"msg\":\"\",\"material\":[{\"id\":\"d5e35202b8e2298ec3e8dfa20ec3d35d\",\"name\":\"素材1.mp4\",\"state\":2,\"url\":\"aihuman/1837675470557155328/d5e35202b8e2298ec3e8dfa20ec3d35d.mp4\",\"width\":\"1080\",\"height\":\"1920\",\"show\":\"https://f1.t-9.cn/aihuman/1837675470557155328/d5e35202b8e2298ec3e8dfa20ec3d35d_show.mp4\"},{\"id\":\"bd979ee8b038d051ff8e4d84f3c7dc2b\",\"name\":\"素材2.mp4\",\"state\":2,\"url\":\"aihuman/1837675470557155328/bd979ee8b038d051ff8e4d84f3c7dc2b.mp4\",\"width\":\"1080\",\"height\":\"1920\",\"show\":\"https://f1.t-9.cn/aihuman/1837675470557155328/bd979ee8b038d051ff8e4d84f3c7dc2b_show.mp4\"}]}",
"tts": "{\"id\":\"zh-CN-shaanxi-XiaoniNeural\",\"name\":\"Xiaoni\",\"sex\":\"女\",\"type\":\"3\",\"language\":\"陕西话\"}",
"anims": null,
"rolesOpen": 0,
"rolesSource": 1,
"parentId": null,
"title": "",
"userPhoto": ""
}
],
1
],
"status": 200,
"message": "请求成功"
}
修改于 2024-10-22 01:36:28