讯飞开放平台

By admin, 6 七月, 2017

http://www.xfyun.cn/

讯飞提供的接口,语音合成质量比不上百度的。

文档:

http://www.xfyun.cn/services/online_tts?tab_index=1

离线发音人列表:https://doc.xfyun.cn/msc_android/%E7%A6%BB%E7%BA%BF%E5%8F%91%E9%9F%B3%E4%BA%BA%E5%88%97%E8%A1%A8.html

曾经有一次遇到一个奇怪的问题:

大概在2019年1月份,改了代码,当时能合成。过了几天之后不行了,程序包含报错(h_errno=166)。换一个appid(ID2)可以,但是在一台美国的服务器上用同样的appid(ID1)是可以的。不知道为什么。现象是appid在特定的服务器上不能使用。

 

又过了一段时间(2019-5-8),发现国内的服务器虽然返回h_errno=166但是能用,而美国的服务器返回h_errno=0反而不能用,两边的appid似乎是一样的。

标签

评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • 网页和电子邮件地址自动转换为链接。
验证码
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
请输入"Drupal10"