Amazon Web Services Polly と AWS SDK for C# を使用して、テキストを音声に変換しようとしています。私は非常に基本的な変換を試みました:
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
(例外はスローされません) が、オーディオ ストリームは空です:
何が欠けていますか?