Answer the question
In order to leave comments, you need to log in
Why does the speech kit output an empty file?
I make a request through curl, I substitute the token and id, but in the end I get an empty file
curl -X POST \
-H "Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-o speech.raw \
--data-urlencode "text= тестовый текст" \
-d "lang=ru-RU&folderId=xxxxxxxxx&format=lpcm&sampleRateHertz=48000" \
https://tts.api.cloud.yandex.net/speech/v1/tts:synthesize
sox -r 48000 -b 16 -e signed-integer -c 1 speech.raw speech.wav
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question