Amazon Polly · Arazzo Workflow

Amazon Polly List Voices and Synthesize Speech

Version 1.0.0

Pick an available voice for a language and synthesize speech with it.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Artificial IntelligenceMachine-LearningSpeech SynthesisText-to-SpeechTTSVoiceSSMLNeural EngineGenerative AIArazzoWorkflows

Provider

amazon-polly

Workflows

list-voices-synthesize-speech
Discover an available voice for a language and synthesize speech with it.
Lists the voices available for the requested engine and language, selects the first match, and synthesizes the supplied text into an audio stream using that voice and output format.
2 steps inputs: amzDate, authorization, contentSha256, engine, languageCode, outputFormat, securityToken, text, textType outputs: requestCharacters, selectedVoiceId
1
describeVoices
List the voices available for the requested engine and language so a concrete voice id can be selected for synthesis.
2
synthesizeSpeech
Synthesize the supplied text into an audio stream using the voice selected from the DescribeVoices response.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Polly List Voices and Synthesize Speech
  summary: Pick an available voice for a language and synthesize speech with it.
  description: >-
    The most common Amazon Polly text-to-speech pattern. The workflow first
    calls DescribeVoices, optionally filtered by an engine and language code, to
    discover an available voice. It captures the first returned voice id and
    then calls SynthesizeSpeech to turn the supplied input text into an audio
    stream using that voice. Every step spells out its request inline, including
    the AWS Signature Version 4 signing headers, so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: speechApi
  url: ../openapi/amazon-polly-speech-api-openapi.yml
  type: openapi
- name: voicesApi
  url: ../openapi/amazon-polly-voices-api-openapi.yml
  type: openapi
workflows:
- workflowId: list-voices-synthesize-speech
  summary: Discover an available voice for a language and synthesize speech with it.
  description: >-
    Lists the voices available for the requested engine and language, selects
    the first match, and synthesizes the supplied text into an audio stream
    using that voice and output format.
  inputs:
    type: object
    required:
    - amzDate
    - authorization
    - text
    - outputFormat
    properties:
      amzDate:
        type: string
        description: The X-Amz-Date timestamp (e.g. 20260604T120000Z) used to sign the requests.
      authorization:
        type: string
        description: The full SigV4 Authorization header value for the request.
      contentSha256:
        type: string
        description: The X-Amz-Content-Sha256 hex digest of the request payload.
      securityToken:
        type: string
        description: Optional X-Amz-Security-Token for temporary credentials.
      engine:
        type: string
        description: Engine to filter voices and to use for synthesis (standard or neural).
      languageCode:
        type: string
        description: ISO language code to filter voices by (e.g. en-US).
      text:
        type: string
        description: The input text (plain text or SSML) to synthesize.
      textType:
        type: string
        description: Whether the input text is plain text or ssml.
      outputFormat:
        type: string
        description: The audio output format (mp3, ogg_vorbis, pcm, or json).
  steps:
  - stepId: describeVoices
    description: >-
      List the voices available for the requested engine and language so a
      concrete voice id can be selected for synthesis.
    operationId: DescribeVoices
    parameters:
    - name: Engine
      in: query
      value: $inputs.engine
    - name: LanguageCode
      in: query
      value: $inputs.languageCode
    - name: X-Amz-Date
      in: header
      value: $inputs.amzDate
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: X-Amz-Content-Sha256
      in: header
      value: $inputs.contentSha256
    - name: X-Amz-Security-Token
      in: header
      value: $inputs.securityToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      voices: $response.body#/Voices
      selectedVoiceId: $response.body#/Voices/0/Id
      nextToken: $response.body#/NextToken
  - stepId: synthesizeSpeech
    description: >-
      Synthesize the supplied text into an audio stream using the voice selected
      from the DescribeVoices response.
    operationId: SynthesizeSpeech
    parameters:
    - name: X-Amz-Date
      in: header
      value: $inputs.amzDate
    - name: Authorization
      in: header
      value: $inputs.authorization
    - name: X-Amz-Content-Sha256
      in: header
      value: $inputs.contentSha256
    - name: X-Amz-Security-Token
      in: header
      value: $inputs.securityToken
    requestBody:
      contentType: application/json
      payload:
        Engine: $inputs.engine
        LanguageCode: $inputs.languageCode
        OutputFormat: $inputs.outputFormat
        Text: $inputs.text
        TextType: $inputs.textType
        VoiceId: $steps.describeVoices.outputs.selectedVoiceId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      contentType: $response.body#/ContentType
      requestCharacters: $response.body#/RequestCharacters
  outputs:
    selectedVoiceId: $steps.describeVoices.outputs.selectedVoiceId
    requestCharacters: $steps.synthesizeSpeech.outputs.requestCharacters

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-polly-list-voices-synthesize-speech-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.