Actions9
Generate Speech
AI-generatedSummary
Convert text or a text file (via pre-signed URL) into speech audio using a specified voice and language locale.
Inputs
- Script Input (required) — Text content to be converted to speech, or a pre-signed URL pointing to a text file containing the text.
- Locale Code (required) — Language code specifying the locale for the generated speech audio.
- Voice ID (required) — Identifier of the voice to use for speech synthesis; obtainable via the "Get Voices" operation.
Output shape
a single JSON object per execution containing the generated speech audio metadata or URLs
The output includes the generated speech data resulting from the conversion of the input text, with no additional pagination or envelope wrapping indicated.