• bing语音接口


    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>"

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

    2020年3月10日

    发现发送特定请求时不会返回语音,比如朝鲜新闻。

    估计是受到美国法律限制。

  • 相关阅读:
    Serverless 工程实践 | Serverless 应用开发观念的转变
    如何高效学习 Kubernetes 知识图谱?
    互动赠新书|当云原生遇到混合云:如何实现“求变”与“求稳”的平衡
    5 款阿里常用代码检测工具,免费用!
    AI与传统编译器
    OpenArkCompiler方舟编译
    传统编译原理
    LLVM基础技术图例
    双极型与低频大功率晶体管
    TVM,Relay,Pass
  • 原文地址:https://www.cnblogs.com/dXIOT/p/11874087.html
Copyright © 2020-2023  润新知