首页 > 其他 > 详细

bing语音接口

时间:2019-11-16 22:02:37      阅读:154      评论:0      收藏:0      [点我收藏+]

curl "https://eastasia.tts.speech.microsoft.com/cognitiveservices/v1?" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0" -H "Accept: */*" -H "Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2" --compressed -H "Referer: https://cn.bing.com/" -H "Content-Type: application/ssml+xml" -H "Authorization: Bearer eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ1cm46bXMuY29nbml0aXZlc2VydmljZXMiLCJleHAiOiIxNTczOTEyNDM1IiwicmVnaW9uIjoiZWFzdGFzaWEiLCJzdWJzY3JpcHRpb24taWQiOiI3MTU5YWUyNzI1N2M0ZTVmOWE5MDM5NzM4ZDU4NzBjMCIsInByb2R1Y3QtaWQiOiJTcGVlY2hTZXJ2aWNlcy5TMCIsImNvZ25pdGl2ZS1zZXJ2aWNlcy1lbmRwb2ludCI6Imh0dHBzOi8vYXBpLmNvZ25pdGl2ZS5taWNyb3NvZnQuY29tL2ludGVybmFsL3YxLjAvIiwiYXp1cmUtcmVzb3VyY2UtaWQiOiIvc3Vic2NyaXB0aW9ucy9jNmNjNDc4MS1jZmU1LTQwZjAtYTJjOC00MWFhOTY5MzEzMDIvcmVzb3VyY2VHcm91cHMvYW1pdGJkaXJzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHMvRWFzdEFzaWEtU3BlZWNoVG9UZXh0LVN1YktleSIsInNjb3BlIjoic3BlZWNoc2VydmljZXMiLCJhdWQiOiJ1cm46bXMuc3BlZWNoc2VydmljZXMuZWFzdGFzaWEifQ.x6o7UfRyngeMIwQb6Y8koDDGtZVHUsTPhNCNqNeKZ_I" -H "X-MICROSOFT-OutputFormat: audio-16khz-32kbitrate-mono-mp3" -H "cache-control: no-cache" -H "Origin: https://cn.bing.com" -H "Connection: keep-alive" -H "TE: Trailers" --data "<speak version=‘1.0‘ xml:lang=‘zh-CN‘><voice xml:lang=‘zh-CN‘ xml:gender=‘Female‘ name=‘zh-CN-HuihuiRUS‘><prosody rate=‘-20.00"%"‘>今天干嘛去</prosody></voice></speak>"

生成的是今天干嘛去的语音

bing语音接口

原文:https://www.cnblogs.com/dXIOT/p/11874087.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!