Interface AudioTranscriptionConfig

The audio transcription configuration in Setup.

interface AudioTranscriptionConfig {
    adaptationPhrases?: string[];
    customVocabulary?: string[];
    diarization?: boolean;
    languageAuto?: LanguageAuto;
    languageCodes?: string[];
    languageHints?: LanguageHints;
    mode?: AudioTranscriptionConfigMode;
    wordTimestamp?: boolean;
}

Properties

adaptationPhrases?: string[]

Deprecated. A list of phrases used for speech adaptation, which biases the ASR model to improve recognition of these specific terms.

customVocabulary?: string[]

A list of custom vocabulary phrases, which biases the ASR model to improve recognition of these specific terms.

diarization?: boolean

Configures speaker diarization.

languageAuto?: LanguageAuto

Deprecated: Auto-detection is now the default when language_codes is omitted. This field will be removed in a future version.

languageCodes?: string[]

BCP-47 language codes providing hints about the languages present in the audio. If omitted or empty, defaults to automatic language detection.

languageHints?: LanguageHints

Deprecated: Use top-level language_codes instead. This field will be removed in a future version.

Optional. Configures transcription mode. Supported values: VERBATIM, SMART. If unspecified, defaults to VERBATIM transcription. In SMART mode, the model performs disfluency removal (eliminating filler words, repetitions, and false starts), light grammatical cleanup, automatic formatting (paragraphs, bullet points, numbered lists), and minor user edits (inline self-corrections). Timestamps and diarization are incompatible with mode SMART.

wordTimestamp?: boolean

Configures word-level timestamp generation.