0
我正在尝试使用Amazon Web Services Polly和适用于C#的AWS开发工具包进行文本到语音转换。我已经尝试了很基本的转换:将Amazon Polly文本转换为语音转换时接收零字节音频流
AmazonPollyClient client = new AmazonPollyClient("secret", "secret", Amazon.RegionEndpoint.USEast1);
Amazon.Polly.Model.SynthesizeSpeechRequest request = new SynthesizeSpeechRequest();
request.OutputFormat = OutputFormat.Mp3;
request.Text = "This is my first conversion";
request.TextType = TextType.Text;
request.VoiceId = VoiceId.Nicole;
Amazon.Polly.Model.SynthesizeSpeechResponse response = client.SynthesizeSpeech(request);
我收到HTTP 200 OK
响应(没有抛出异常),但是音频流为空:
缺少了什么?