Skip to main content

Overview

Text-to-speech endpoints

Available Operations

create_speech

Synthesizes audio from the input text. Returns a raw audio bytestream in the requested format (e.g. mp3, pcm, wav).

Example Usage

Parameters

Response

httpx.Response

Errors

list_models

Lists every text-to-speech model with the inputs it accepts and its speech output parameters, merged across its endpoints, plus each endpoint with its own.

Example Usage

Parameters

Response

components.SpeechModelsListResponse

Errors

get_model

Returns a text-to-speech model with each endpoint’s own inputs and speech output parameters.

Example Usage

Parameters

Response

components.SpeechModelResponse

Errors