Voice a text
speakTurn a text into speech with one voice and return a link to the audio file (kept 1 h). The audio length counts against the key's plan. Up to 20000 characters per call; a long text takes longer, so voice long texts in parts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to say. | |
| voice | Yes | A voice id from list_voices (32 characters), a stock voice (F1-F5, M1-M5) or a voice name, which must match one voice exactly. | |
| format | No | mp3 | |
| language | Yes | The language of the text (ISO 639-1). | |
| include_audio | No | Also return the audio itself inside the result (up to 3 MB), for clients that play audio. The link is always returned. |