AAAAAAAAAAAAAAAAAAAA
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
ap-northeast-1
(たとえば)$ aws configure
AWS Access Key ID [None]: AAAAAAAAAAAAAAAAAAAA
AWS Secret Access Key [None]: SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
Default region name [somewhere]: ap-northeast-1
Default output format [None]:
$ vi input.txt
$ cat input.txt
こんにちは。
$ aws polly synthesize-speech --output-format mp3 --text file://input.txt --voice-id "Mizuki" output.mp3
{
"ContentType": "audio/mpeg",
"RequestCharacters": "6"
}
$ aws polly synthesize-speech --output-format mp3 --text "こんにちは。" --voice-id "Mizuki" output.mp3
$ aws polly start-speech-synthesis-task help
$ aws help
$ aws polly help
$ aws polly synthesize-speech help
$ aws polly start-speech-synthesis-task help
https://twitter.com/hyuki/status/1255501850117394433 https://twitter.com/hyuki/status/1255487949002682368 https://twitter.com/hyuki/status/1130015752415657984