capabilities.work

Select Voice and Start Synthesis Task

A 2-step recipe with Amazon Polly. We can help you get access.

Recipe · 2 steps

Select Voice and Start Synthesis Task

Pick an available voice and start an asynchronous synthesis task using it.

  1. List the voices available for the requested engine and language.
  2. Start an asynchronous synthesis task to the supplied S3 bucket using the voice selected from the DescribeVoices response.
What you'll need to have ready
  • amzDate: The X-Amz-Date timestamp 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.
  • outputFormat: The audio output format (mp3, ogg_vorbis, pcm, or json).
  • outputS3BucketName: The S3 bucket name to which the output file will be saved.
For your developer

Arazzo workflow amazon-polly:list-voices-start-synthesis-task, 2 operations: DescribeVoices → StartSpeechSynthesisTask. Specs on APIs.io.