一直返回输入参数不正确
syy6875297 发布于2019-10 浏览:2398 回复:2
0
收藏

请求URL:https://tsn.baidu.com/text2audio

请求json:{"vol":5,"tok":"24.1711ec8e9fb24f47fa2312fbf5caba19.2592000.1574584666.282335-17614694","tex":"%25E4%25BA%25BF%25E5%2590%2588%25E5%2588%259B%25E6%25AC%25A2%25E8%25BF%258E%25E4%25BD%25A0%25EF%25BC%2581","spd":5,"pit":5,"per":0,"lan":"zh","ctp":0,"aue":3,"cuid":"2C-4D-54-F0-AD-A1"}

应答json:{"err_detail":"Params error.","err_msg":"parameter error.","err_no":501,"err_subcode":29,"tts_logid":3390002925}

收藏
点赞
0
个赞
共2条回复 最后由用户已被禁言回复于2022-04
#3ll泪无痕ll回复于2021-08

11222

0
#2用户已被禁言回复于2019-10

您好,是在测试api吗?请先参考这里 https://github.com/Baidu-AIP/speech-demo/tree/master/rest-api-tts/postman

重点检查合成的文本以及参数.

0
TOP
切换版块