transcribe(), transcribeData(), and realtime transcription methods.
Properties
The complete transcribed text. Contains the full transcription result as a single string.
The detected or specified language code (e.g., ‘en’, ‘es’, ‘fr’). If language was set to ‘auto’ in options, this will be the detected language.
Array of transcription segments with timestamps. Each segment represents a portion of the transcribed audio.
Whether the transcription was aborted by calling
stop(). When true, the transcription was cancelled before completion.Usage Example
Example Response
Notes
- Timestamps are in milliseconds, not seconds
- Segments may overlap slightly depending on the model’s processing
- When
isAbortedistrue, theresultandsegmentsmay be partial or empty - The
languagefield uses ISO 639-1 language codes
Related
- TranscribeOptions - Configuration options for transcription
- transcribe() - Transcribe audio files
- transcribeData() - Transcribe audio data