Overview
The transcription feature uses the ElevenLabs Scribe API to convert audio and video files into accurate text transcripts. It supports multiple audio formats, language detection, and various configuration options for precision control.Supported Audio Formats
The application accepts the following audio and video formats:Configuration Options
All transcription options are defined in theTranscriptOptions interface:
Key Options
- Model Selection
- Timestamps
- Language
Choose between two transcription models:
- scribe_v1: First generation model
- scribe_v2: Latest model with improved accuracy (default)
Making API Calls
The transcription is performed using the ElevenLabs JavaScript SDK. Here’s the actual implementation from the playground:The API call is made from speech-to-text-playground.tsx:48-62. All options are passed directly to the ElevenLabs SDK.
Advanced Options
Temperature & Seed
Control the randomness and reproducibility of transcriptions:Keyterms
Provide domain-specific terms to improve recognition accuracy:Entity Detection
Detect and optionally redact sensitive information:Audio Event Tagging
Tag non-speech audio events (laughter, applause, etc.):Response Handling
The API returns aSpeechToTextChunkResponseModel containing:
- Full transcript text
- Word-level data with timestamps
- Speaker information (if diarization enabled)
- Character-level alignment data
Error Handling
The application includes specialized error parsing for ElevenLabs API errors:Default Configuration
The playground uses these defaults:Next Steps
- Learn about Speaker Diarization to identify different speakers
- Explore the Transcript Viewer for displaying results
- Configure Audio Playback controls