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
Example
ts
openAIVoice({ voice: "nova", instructions: "Calm and clear." })