OpenAI API key used for authentication.
Sent as Authorization: Bearer <apiKey> in the request header.
Optional baseBase URL for the OpenAI API. Override for proxies, Azure OpenAI, or compatible third-party endpoints.
'https://api.openai.com/v1'
Optional modelDefault transcription model.
gpt-transcribe is the model OpenAI recommends for recorded speech.
OpenAI removes whisper-1 from the API on 2027-02-26 and names
gpt-live-transcribe or gpt-transcribe as the replacement, while its
guide still sends callers who need word or segment timestamps to
whisper-1. A call that asks for verbose_json, srt or vtt runs on
whisper-1, which serves those formats, when no model is configured or
the configured model is one of OpenAI's gpt- transcription models. A
configured model of a whisper-compatible server keeps those calls, and a
model named on the call is always used as given.
'gpt-transcribe'
Optional fetchCustom fetch implementation for dependency injection in tests.
Optional init: RequestInitOptional init: RequestInitglobalThis.fetch
Configuration for the OpenAIWhisperSpeechToTextProvider.
See