List Voices and Synthesize Speech
A 2-step recipe with Amazon Polly. We can help you get access.
Recipe · 2 steps
List Voices and Synthesize Speech
with Amazon Polly
Discover an available voice for a language and synthesize speech with it.
- List the voices available for the requested engine and language so a concrete voice id can be selected for synthesis.
- Synthesize the supplied text into an audio stream using the voice selected from the DescribeVoices response.
What you'll need to have ready
- amzDate: The X-Amz-Date timestamp (e.g. 20260604T120000Z) used to sign the requests.
- authorization: The full SigV4 Authorization header value for the request.
- contentSha256: The X-Amz-Content-Sha256 hex digest of the request payload.
- securityToken: Optional X-Amz-Security-Token for temporary credentials.
- engine: Engine to filter voices and to use for synthesis (standard or neural).
- languageCode: ISO language code to filter voices by (e.g. en-US).
- text: The input text (plain text or SSML) to synthesize.
- textType: Whether the input text is plain text or ssml.
- outputFormat: The audio output format (mp3, ogg_vorbis, pcm, or json).
For your developer
Arazzo workflow amazon-polly:list-voices-synthesize-speech, 2 operations: DescribeVoices → SynthesizeSpeech. Specs on APIs.io.