Skip to content

waygraph / OpenAIVoiceOptions

Interface: OpenAIVoiceOptions ​

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

Settings for openAIVoice.

Properties ​

apiKey? ​

optional apiKey?: string

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

Default OPENAI_API_KEY from the environment (.env included).


baseURL? ​

optional baseURL?: string

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

Any OpenAI-compatible speech server (a local one too). Default https://api.openai.com/v1.


instructions? ​

optional instructions?: string

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

How to speak (models that take it): "Calm, friendly, like a product walkthrough."


model? ​

optional model?: string

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

Default "gpt-4o-mini-tts".


voice? ​

optional voice?: string

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

Default "alloy".

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