Amazon Polly · Schema

StartSpeechSynthesisStreamInput

Artificial IntelligenceAmazon Web ServicesMachine LearningSpeech SynthesisText-to-SpeechVoiceSSMLNeural EngineGenerative AI

Properties

Name Type Description
Engine string Specifies the engine for Amazon Polly to use when processing input text for speech synthesis. Currently, only the generative engine is supported. If you specify a voice that the selected engine doesn'
LanguageCode string An optional parameter that sets the language code for the speech synthesis request. Specify this parameter only when using a bilingual voice. If a bilingual voice is used and no language code is speci
LexiconNames array The names of one or more pronunciation lexicons for the service to apply during synthesis. Amazon Polly applies lexicons only when the lexicon language matches the voice language.
OutputFormat string The audio format for the synthesized speech. Currently, Amazon Polly does not support JSON speech marks.
SampleRate string The audio frequency, specified in Hz.
VoiceId string The voice to use in synthesis. To get a list of available voice IDs, use the DescribeVoices operation.
ActionStream object
View JSON Schema on GitHub

JSON Schema

amazon-polly-start-speech-synthesis-stream-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-polly/json-schema/amazon-polly-start-speech-synthesis-stream-input-schema.json",
  "title": "StartSpeechSynthesisStreamInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-polly-operations-api-openapi.yml#/components/schemas/StartSpeechSynthesisStreamInput",
  "type": "object",
  "properties": {
    "Engine": {
      "type": "string",
      "enum": [
        "standard",
        "neural",
        "long-form",
        "generative"
      ],
      "description": "Specifies the engine for Amazon Polly to use when processing input text for speech synthesis. Currently, only the generative engine is supported. If you specify a voice that the selected engine doesn't support, Amazon Polly returns an error."
    },
    "LanguageCode": {
      "type": "string",
      "enum": [
        "arb",
        "cmn-CN",
        "cy-GB",
        "da-DK",
        "de-DE",
        "en-AU",
        "en-GB",
        "en-GB-WLS",
        "en-IN",
        "en-US",
        "es-ES",
        "es-MX",
        "es-US",
        "fr-CA",
        "fr-FR",
        "is-IS",
        "it-IT",
        "ja-JP",
        "hi-IN",
        "ko-KR",
        "nb-NO",
        "nl-NL",
        "pl-PL",
        "pt-BR",
        "pt-PT",
        "ro-RO",
        "ru-RU",
        "sv-SE",
        "tr-TR",
        "en-NZ",
        "en-ZA",
        "ca-ES",
        "de-AT",
        "yue-CN",
        "ar-AE",
        "fi-FI",
        "en-IE",
        "nl-BE",
        "fr-BE",
        "cs-CZ",
        "de-CH",
        "en-SG"
      ],
      "description": "An optional parameter that sets the language code for the speech synthesis request. Specify this parameter only when using a bilingual voice. If a bilingual voice is used and no language code is specified, Amazon Polly uses the default language of the bilingual voice."
    },
    "LexiconNames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The names of one or more pronunciation lexicons for the service to apply during synthesis. Amazon Polly applies lexicons only when the lexicon language matches the voice language."
    },
    "OutputFormat": {
      "type": "string",
      "enum": [
        "json",
        "mp3",
        "ogg_opus",
        "ogg_vorbis",
        "pcm",
        "mulaw",
        "alaw"
      ],
      "description": "The audio format for the synthesized speech. Currently, Amazon Polly does not support JSON speech marks."
    },
    "SampleRate": {
      "type": "string",
      "description": "The audio frequency, specified in Hz."
    },
    "VoiceId": {
      "type": "string",
      "enum": [
        "Aditi",
        "Amy",
        "Astrid",
        "Bianca",
        "Brian",
        "Camila",
        "Carla",
        "Carmen",
        "Celine",
        "Chantal",
        "Conchita",
        "Cristiano",
        "Dora",
        "Emma",
        "Enrique",
        "Ewa",
        "Filiz",
        "Gabrielle",
        "Geraint",
        "Giorgio",
        "Gwyneth",
        "Hans",
        "Ines",
        "Ivy",
        "Jacek",
        "Jan",
        "Joanna",
        "Joey",
        "Justin",
        "Karl",
        "Kendra",
        "Kevin",
        "Kimberly",
        "Lea",
        "Liv",
        "Lotte",
        "Lucia",
        "Lupe",
        "Mads",
        "Maja",
        "Marlene",
        "Mathieu",
        "Matthew",
        "Maxim",
        "Mia",
        "Miguel",
        "Mizuki",
        "Naja",
        "Nicole",
        "Olivia",
        "Penelope",
        "Raveena",
        "Ricardo",
        "Ruben",
        "Russell",
        "Salli",
        "Seoyeon",
        "Takumi",
        "Tatyana",
        "Vicki",
        "Vitoria",
        "Zeina",
        "Zhiyu",
        "Aria",
        "Ayanda",
        "Arlet",
        "Hannah",
        "Arthur",
        "Daniel",
        "Liam",
        "Pedro",
        "Kajal",
        "Hiujin",
        "Laura",
        "Elin",
        "Ida",
        "Suvi",
        "Ola",
        "Hala",
        "Andres",
        "Sergio",
        "Remi",
        "Adriano",
        "Thiago",
        "Ruth",
        "Stephen",
        "Kazuha",
        "Tomoko",
        "Niamh",
        "Sofie",
        "Lisa",
        "Isabelle",
        "Zayd",
        "Danielle",
        "Gregory",
        "Burcu",
        "Jitka",
        "Sabrina",
        "Jasmine",
        "Jihye",
        "Ambre",
        "Beatrice",
        "Florian",
        "Lennart",
        "Lorenzo",
        "Tiffany",
        "Arjun",
        "Carlos",
        "Carolina",
        "Curtis",
        "Hyunduk",
        "Kenneth",
        "Kiara",
        "Leo",
        "Nate",
        "Tina"
      ],
      "description": "The voice to use in synthesis. To get a list of available voice IDs, use the DescribeVoices operation."
    },
    "ActionStream": {
      "$ref": "#/$defs/StartSpeechSynthesisStreamActionStream"
    }
  },
  "required": [
    "Engine",
    "OutputFormat",
    "VoiceId"
  ],
  "$defs": {
    "CloseStreamEvent": {
      "type": "object",
      "properties": {}
    },
    "FlushStreamConfiguration": {
      "type": "object",
      "properties": {
        "Force": {
          "type": "boolean",
          "description": "Specifies whether to force the synthesis engine to immediately write buffered audio data to the output stream."
        }
      }
    },
    "StartSpeechSynthesisStreamActionStream": {
      "type": "object",
      "properties": {
        "TextEvent": {
          "$ref": "#/$defs/TextEvent"
        },
        "CloseStreamEvent": {
          "$ref": "#/$defs/CloseStreamEvent"
        }
      },
      "description": "Exactly one member is set."
    },
    "TextEvent": {
      "type": "object",
      "properties": {
        "Text": {
          "type": "string",
          "description": "The text content to synthesize. If you specify ssml as the TextType, follow the SSML format for the input text."
        },
        "TextType": {
          "type": "string",
          "enum": [
            "ssml",
            "text"
          ],
          "description": "Specifies whether the input text is plain text or SSML. Default: plain text."
        },
        "FlushStreamConfiguration": {
          "$ref": "#/$defs/FlushStreamConfiguration"
        }
      },
      "required": [
        "Text"
      ]
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-polly-start-speech-synthesis-stream-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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