OpenAI API key used for authentication.
Sent as Authorization: Bearer <apiKey>.
Optional baseBase URL for the OpenAI API. Override for proxies, Azure OpenAI, or compatible third-party endpoints.
'https://api.openai.com/v1'
Optional modelDefault TTS model. tts-1 is optimized for real-time, tts-1-hd for quality.
'tts-1'
Optional voiceDefault voice identifier. See OPENAI_VOICES for available options.
'nova'
Optional fetchCustom fetch implementation for dependency injection in tests.
Optional init: RequestInitOptional init: RequestInitglobalThis.fetch
Configuration for the OpenAITextToSpeechProvider.
See