Result_VoiceTask
统一业务结果封装。
codeinteger必填
业务结果码;200 表示成功。
msgstring必填
结果消息。
errorKeystring可为空
稳定的业务错误键;成功时为 null。
data object可为空必填
成功时的业务数据;业务失败或无数据时为 null。
taskIdstring必填
复刻任务 ID。
voiceNamestring必填
音色名称。
trainStatusinteger可为空必填
训练状态:-1 训练中,1 成功,0 失败。
取值约束: [-1, 1, 0]
resIdstring可为空必填
音色资源 ID。
createdAtinteger<int64>可为空必填
创建时间,Unix 毫秒时间戳。
successboolean
外层业务是否成功;等价于 code=200。
Result_VoiceTask
{
"code": 0,
"msg": "string",
"errorKey": "string",
"data": {
"taskId": "string",
"voiceName": "string",
"trainStatus": -1,
"resId": "string",
"createdAt": 0
},
"success": true
}