简体   繁体   English

使用 Curl 的 IBM Watson TTS 出现问题

[英]Having issues with IBM Watson TTS using Curl

Ive been using Curl and watson TTs for some time now.我已经使用 Curl 和 watson TT 有一段时间了。 All of a sudden it stopped working.突然间它停止了工作。 It created the audio file, but it is unplayable and has very small size它创建了音频文件,但无法播放且尺寸非常小

curl -X POST -u "apikey:APIKEY" ^
--header "Content-Type: application/json" ^
--header "Accept: audio/wav" ^
--data "{\"text\":\"Test IBM Watson TTS.\"}" ^
--output Test.wav ^
"https://api.us-south.text-to-speech.watson.cloud.ibm.com/instances/d73ba88c-84fc-45d2-b1bd-7b95066c280a/v1/synthesize?voice=en-US_MichaelV3Voice"

Anyone have any ideas?有人有想法么?

Your very small audio file will actually be a text file containing the error code.您的非常小的音频文件实际上是一个包含错误代码的文本文件。 Either cat it or open it with a text editor and check what error it is reporting.要么 cat 它,要么用文本编辑器打开它,然后检查它报告的错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 IBM Cloud - 如何使用 curl POST 在 Watson TTS 中调整语速? - IBM Cloud - How to adjust speaking rate in Watson TTS using curl POST? IBM Watson TTS cURL 请求:如何识别变音符号/重音符号? - IBM Watson TTS cURL request : how to have diacritic / accentend characters recognised? 如何使用IBM Watson的Curl获得JSON响应 - How to get a json response using Curl from IBM Watson 如何将IBM Watson cURL命令转换为PHP - How to convert IBM Watson cURL commands to PHP 将 CURL 数据发送到 IBM Watson 进行识别 - send CURL data to IBM Watson for recognition Curl 显示未经授权的 IBM Watson API - Curl Showing Unauthorized IBM Watson API 视觉识别的IBM Watson API使用curl在Collectio中添加图像问题 - IBM watson api of visual recognition add image issue in collectio using curl IBM Watson Concept Insights使用cURL超时获取相关概念(语料库) - IBM Watson Concept Insights get related concepts (corpus) using cURL timing out 使用 CURL 无法将任何 SSML 标记应用于 IBM Watson 的文本到语音系统中的文本 - Unable to apply any SSML tag to the text in IBM Watson's text-to-speech system, using CURL IBM Watson Concept Insights概念搜索,使用Curl传递多个/一组ID作为参数 - IBM Watson Concept Insights conceptual search using Curl to pass mutiple/an array of ids as a parameter
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM