0

Trying to figure out how to simply download audio files from Watson's text-to-speech. Supposedly there used to be a download button but there isn't anymore. Is there an easy way to download audio files? The documentation seems complicated and we do not need to use it for a site.

Thank you, Ashley

Ashley
  • 1
  • 1

1 Answers1

0

From the API Documentation https://cloud.ibm.com/apidocs/text-to-speech#synthesize-audio-get

You can use cURL :

curl -X GET -u "apikey:{apikey}" --output hello_world.wav "{url}/v1/synthesize?accept=audio%2Fwav&text=Hello%20world&voice=en-US_AllisonVoice"
chughts
  • 4,210
  • 2
  • 14
  • 27