Speech - TypeScript SDK
Speech - TypeScript SDK
Speech method reference
Speech - TypeScript SDK
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Text-to-speech endpoints
Synthesizes audio from the input text. Returns a raw audio bytestream in the requested format (e.g. mp3, pcm, wav).
The standalone function version of this method:
Promise<ReadableStream<Uint8Array>>