aws polly synthesize-speech
Synthesizes UTF-8 input, plain text or SSML, to a stream of bytes. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--engineSpecifies the engine (standard, neural, long-form, or generative) for Amazon Polly to use when processing input text for speech synthesis.--language-codeOptional language code for the Synthesize Speech request.--lexicon-namesList of one or more pronunciation lexicon names you want the service to apply during synthesis.--output-formatThe format in which the returned output will be encoded.--sample-rateThe audio frequency specified in Hz.--speech-mark-typesThe type of speech marks returned for the input text.--text-typeSpecifies whether the input text is plain text or SSML.--textInput text to synthesize.--voice-idVoice ID to use for the synthesis.