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

Standalone function

The standalone function version of this method:

Parameters

Response

Promise<ReadableStream<Uint8Array>>

Errors