Skip to main content

Overview

Text-to-speech endpoints

Available Operations

CreateSpeech

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

Example Usage

Parameters

Response

io.ReadCloser, error

Errors

ListModels

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, error

Errors

GetModel

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

Example Usage

Parameters

Response

*components.SpeechModelResponse, error

Errors