Skip to content

waygraph / openAIVoice

Function: openAIVoice() ​

openAIVoice(opts?): Voice

Defined in: src/runtime/voice.ts:302

A voice from an OpenAI-compatible speech API (POST {baseURL}/audio/speech): OpenAI's, or a local server that speaks the same API.

Parameters ​

opts? ​

OpenAIVoiceOptions = {}

Returns ​

Voice

Example ​

ts
openAIVoice({ voice: "nova", instructions: "Calm and clear." })

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed