MiniMax声音复刻API 复刻 响应参数 返回字段 类型 说明 inputsensitive boolean 输入音频是否命中内容风控;为 true 时复刻不会生效 inputsensitivetype integer 命中的风控类型,与文本风控类型编号一致 demoaudio string 试听音频链接。仅在请求中同时传入 text 与 model 时返回,否则为空字符串 baseresp object 业务状态信息 baseresp.statuscode integer 业务状态码,0 表示成功 baseresp.statusmsg string 状态描述 复刻成功后 voiceid 不会随响应单独返回,其值即请求中传入的自定义 voiceid;请调用方自行保存并与授权记录绑定。 请求/响应示例 上传待复刻音频 plaintext curl location ' header "Authorization: Bearer ${YOURAPPKEY}" form 'purpose"voiceclone"' form 'file@"/path/to/cloneinput.mp3"' 上传示例音频(可选) plaintext curl location ' header "Authorization: Bearer ${YOURAPPKEY}" form 'purpose"promptaudio"' form 'file@"/path/to/cloneprompt.mp3"' 调用复刻接口 plaintext curl location ' header "Authorization: Bearer ${YOURAPPKEY}" header "ContentType: application/json" data '{ "fileid": 123456789, "voiceid": "BrandNarrator001", "cloneprompt": { "promptaudio": 987654321, "prompttext": "后来认为啊,是有人抓这鸡,可是抓鸡的地方呢没人听过鸡叫。" }, "text": "大兄弟,听您口音不是本地人吧,头回来天津卫,待会您可甭跟着导航走。", "model": "minimaxspeech2.8hd", "textvalidation": "后来认为啊,是有人抓这鸡,可是抓鸡的地方呢没人听过鸡叫。", "accuracy": 0.7, "neednoisereduction": true, "needvolumenormalization": false, "aigcwatermark": false }'