奇妙元直播接口文档
  1. 直播间_数字人查询
奇妙元直播接口文档
  • 直播接口必读
  • 直播间_数字人查询
    • 查询数字人详情
      GET
    • 查询数字人接口
      GET
  • 直播间_合成
    • 开始合成直播间
      POST
  • 直播间_台词
    • 修改台词设置信息
      PUT
    • 素材_新增台词某一种素材
      PUT
    • 创建台词
      POST
    • 删除台词
      DELETE
    • 素材_删除台词某一种素材
      DELETE
    • 素材_查询台词的所有素材
      GET
    • 素材_新增或覆盖台词的素材信息(可替代增删改接口)
      PUT
    • 素材_修改台词某一种素材
      PUT
    • 查询台词内容
      GET
  • 直播间_直播间
    • 创建直播间
      POST
    • 删除直播间
      DELETE
    • 查询单个直播间
      GET
    • 分页查询直播间
      GET
    • 查询单个直播间的合成结果
      GET
    • 修改直播间
      PUT
  • 字体信息
    • 字体查询
      GET
  1. 直播间_数字人查询

查询数字人详情

正式环境
http://prod-cn.your-api-server.com
正式环境
http://prod-cn.your-api-server.com
GET
/avatar/detail/{id}

请求参数

Path 参数
id
integer 
id
必需

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://prod-cn.your-api-server.com/avatar/detail/'

返回响应

🟢200OK
application/json
Body
code
integer <int32>
可选
data
object (AvatarInfo) 
数字人配置信息
可选
created
string <date-time>
创建时间
可选
customType
string 
可选
系统或定制(sys/self)
figureUrl
string 
形象展示地址
可选
gender
string 
可选
性别(male/female)
gifUrl
string 
gif地址
可选
headHeight
integer <int32>
头像图片高
可选
headUrl
string 
头像地址
可选
headWidth
integer <int32>
头像图片宽
可选
headr
integer <int32>
头像半径
可选
headx
integer <int32>
可选
头像中心到模特图片左侧边的距离
heady
integer <int32>
可选
头像中心到模特图片上侧边的距离
id
integer <int64>
主键
可选
lastUpdateTime
string <date-time>
修改时间
可选
magicAudioId
string 
魔音声音id
可选
phone
string 
手机号
可选
product
string 
产品类型
可选
published
string 
可选
是否发布yes/no
recommend
string 
是否推荐
可选
sortNum
integer <int32>
排序字段
可选
speakerHeight
integer <int32>
数字人图片高
可选
speakerId
string 
苏州数字人id
可选
speakerModelType
string 
可选
模型类型(avatar_v3/default)
speakerName
string 
数字人名称
可选
speakerType
string 
可选
数字人类型(two/real/three/cartoon)
speakerUrl
string 
数字人图片地址
可选
speakerWidth
integer <int32>
数字人图片宽
可选
status
string 
可选
vipType
string 
可选
数字人vip类型(novip/freevip/svip/vip)
wwid
string 
用户id
可选
message
string 
可选
ok
boolean 
可选
示例
{
    "code": 0,
    "data": {
        "created": "2019-08-24T14:15:22Z",
        "customType": "string",
        "figureUrl": "string",
        "gender": "string",
        "gifUrl": "string",
        "headHeight": 0,
        "headUrl": "string",
        "headWidth": 0,
        "headr": 0,
        "headx": 0,
        "heady": 0,
        "id": 0,
        "lastUpdateTime": "2019-08-24T14:15:22Z",
        "magicAudioId": "string",
        "phone": "string",
        "product": "string",
        "published": "string",
        "recommend": "string",
        "sortNum": 0,
        "speakerHeight": 0,
        "speakerId": "string",
        "speakerModelType": "string",
        "speakerName": "string",
        "speakerType": "string",
        "speakerUrl": "string",
        "speakerWidth": 0,
        "status": "string",
        "vipType": "string",
        "wwid": "string"
    },
    "message": "string",
    "ok": true
}
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
修改于 2023-07-10 01:05:47
上一页
直播接口必读
下一页
查询数字人接口
Built with