Skip to content

Instantly share code, notes, and snippets.

@naoki-sawada
Created April 16, 2018 04:33
Show Gist options
  • Save naoki-sawada/7940cc66830098abac1acce76efe6a7b to your computer and use it in GitHub Desktop.
Save naoki-sawada/7940cc66830098abac1acce76efe6a7b to your computer and use it in GitHub Desktop.
#!/bin/bash
curl "http://webapi.aitalk.jp/webapi/v2/ttsget.php" \
-o "$1.wav" \
-d "text=$1" \
-d "speaker_name=nozomi" \
-d "ext=wav" \
-d "username={YOUR_API_USER_NAME}" \
-d "password={YOUR_API_PASSWORD}" \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment