#

SUD

简要描述

  • 训练音色

请求URL

请求方式

  • 传输协议:HTTPS
  • 请求方法:POST
  • 参数以body传递,格式为json(见请求示例)
  • Header中需要添加:Content-Type: application/json;charset=utf-8
  • Header中需要添加:认证请求头 Authorization

请求头 [Authorization]

请求参数

参数名 必选 类型 说明
voice_id string SUD 音色id
audio_data string 音频数据base64
audio_format string 音频格式: wav, mp3

请求示例

{
  "voice_id": "xxx",
  "audio_data": "xxx",
  "audio_format": "mp3"
}

返回参数

参数名 必选 类型 说明
ret_code int 响应码
ret_msg string 响应信息
data struct 响应数据

返回示例

{
  "ret_code": 0,
  "ret_msg": "success"
}

results matching ""

    No results matching ""