OpenAISTT
OpenAI speech-to-text (STT) transcriber.Constructor
OpenAI API key. Defaults to the
OPENAI_API_KEY environment variable.Transcription model id. Default
'gpt-4o-transcribe'.Spoken language as a BCP-47/ISO code. Default
'en'.Stream partial transcripts as audio arrives. Default
true.Sample rate (Hz) of the audio sent in. Default
48000.Sample rate in Hz that input audio is resampled to. Default
24000.Optional prompt to bias transcription. Default
null.Turn-detection mode. Default
'server_vad'.VAD speech-probability threshold. Default
null (provider default).Audio padding (ms) prepended before detected speech. Default
null.Trailing silence (ms) that ends a turn. Default
null.Noise-reduction profile, e.g.
'near_field'/'far_field'. Default 'near_field'.Transcript response format. Default
'json'.Override the API base URL. Default
null.