Skip to main content

Overview

Advanced settings provide fine-grained control over the transcription process, including domain-specific terminology, entity detection, and output randomness control. These options are part of the TranscriptOptions interface:

Randomness Control

Temperature

number
default:"undefined"
Controls the randomness of the transcription output (0.0-2.0).
  • 0.0: Deterministic, always produces the same output for the same input
  • 1.0: Balanced creativity and consistency
  • 2.0: Maximum randomness and creativity
Lower temperatures are recommended for most transcription use cases to ensure consistency.
Usage in UI:
Implementation:
API Call:
Using temperature values above 1.0 may result in less predictable transcriptions. For production use cases, values between 0.0 and 0.5 are recommended.

Seed

number
default:"undefined"
Random seed for reproducible transcriptions.When a seed is provided, the model will produce the same transcription output for the same input audio, even with non-zero temperature values.Useful for:
  • Debugging and testing
  • Ensuring consistent results across multiple runs
  • Comparing different configurations with the same randomness
Usage in UI:
Implementation:
API Call:
Combine temperature: 0 with a specific seed value to ensure 100% reproducible transcriptions for testing and quality assurance.

Domain-Specific Configuration

Keyterms

string[]
default:"undefined"
Array of domain-specific terms, technical jargon, product names, or proper nouns that should be recognized accurately.Examples:
  • Technical terms: ["API", "OAuth", "REST", "GraphQL"]
  • Product names: ["ElevenLabs", "Scribe API", "GPT-4"]
  • Company names: ["Anthropic", "OpenAI", "Google Cloud"]
  • Medical terms: ["hypertension", "acetaminophen"]
The model will be more likely to transcribe these exact terms when they appear in the audio.
Usage in UI: The UI accepts keyterms as comma-separated values:
Implementation: Keyterms are parsed from a comma-separated string:
The parseKeytermsInput utility function converts the comma-separated string to an array:
API Call:
Example: For a podcast discussing AI technology:
Keyterms are case-sensitive. Include variations if needed (e.g., both “API” and “api” if the speaker might say it differently).

Entity Detection

string
default:"undefined"
Enable detection and redaction of sensitive information in the transcription.Common values:
  • "pii": Personally Identifiable Information (names, addresses, phone numbers, email addresses)
  • "phi": Protected Health Information (medical record numbers, diagnoses, treatment information)
  • "all": All supported entity types
  • Custom entity types as supported by the API
Detected entities may be tagged or redacted in the output depending on the API configuration.
Usage in UI:
Implementation:
API Call:
Example Use Cases:
For medical consultations or healthcare-related audio:
This will detect and tag Protected Health Information while accurately transcribing medical terminology.
For customer service or support call transcription:
This will identify customer information while preserving product-specific terms.
Entity detection is not a substitute for proper security and compliance measures. Always review transcriptions containing sensitive information and ensure they are handled according to your organization’s policies and regulatory requirements.

Complete API Call Example

Here’s how all advanced settings are used in the actual API call from speech-to-text-playground.tsx:

Advanced Configuration Examples

For academic or research purposes requiring reproducible results:
For technical content that might contain multiple languages:
For meetings with sensitive information:
For content where you want some variation in transcription:

Best Practices

Keyterms Tips

  • Include acronyms and their expanded forms
  • Add product names, company names, and proper nouns
  • Include technical jargon specific to your domain
  • Keep the list focused (10-50 terms typically)
  • Update the list as you discover commonly misheard terms

Temperature & Seed

  • Use temperature: 0 for maximum consistency
  • Set a seed value when you need reproducible results
  • Avoid temperatures above 1.0 for production use
  • Test different temperature values to find the right balance

Entity Detection

  • Always review auto-detected entities for accuracy
  • Combine with manual review for compliance-critical use cases
  • Test with sample data before processing sensitive information
  • Understand your regulatory requirements (HIPAA, GDPR, etc.)

Next Steps

API Setup

Learn how to configure your ElevenLabs API key

Transcription Options

Configure basic transcription options