Overview
The STT API provides various options to customize transcription behavior, from language selection to word-level timestamps.Options Reference
Language Support
Specify the language code to improve accuracy:Supported Languages
Language-specific models (e.g.,
whisper-tiny.en) only support that language but are more
accurate and faster.Punctuation
Add punctuation to transcription output:Word Timestamps
Get timing information for each word:Use Cases
- Subtitles/Captions: Sync text with video
- Karaoke: Highlight words as they’re spoken
- Search: Jump to specific moments in audio
- Accessibility: Show words as they’re spoken
Example: Subtitle Generator
Speaker Diarization
Identify different speakers in the audio:Sample Rate
Specify the audio sample rate if different from the default:transcribeBuffer() accepts a Float32Array of PCM audio samples. The sample rate defaults to
16000 Hz if not specified in options.Model Loading Options
Configure model loading:Combining Options
Performance vs Accuracy
Related
Transcribe
Basic transcription
STT Streaming
Real-time transcription
VAD
Voice Activity Detection