mlx-bun library API
    Preparing search index...
    interface TranscriptionParams {
        audioCtx?: number | null;
        beamSize?: number | null;
        conditionOnPreviousText?: boolean;
        faithful?: boolean;
        language?: string | null;
        noSpeechThreshold?: number | null;
        onProgress?: (done: number, total: number) => void;
        onSegment?: (segment: TranscriptSegment) => void;
        prompt?: string | null;
        signal?: AbortSignal;
        task?: "transcribe" | "translate";
        temperature?: number | null;
        vad?: { minSpeechMs?: number; threshold?: number; trim?: boolean } | null;
        vocabulary?: string[];
        withoutTimestamps?: boolean;
        wordTimestamps?: boolean;
    }
    Index
    audioCtx?: number | null

    Lab: encoder context truncation (positions, <= 1500).

    beamSize?: number | null
    conditionOnPreviousText?: boolean
    faithful?: boolean

    Force the faithful oracle graph (default: the fast path).

    language?: string | null

    ISO code / name; null or "auto" detects.

    noSpeechThreshold?: number | null
    onProgress?: (done: number, total: number) => void
    onSegment?: (segment: TranscriptSegment) => void
    prompt?: string | null
    signal?: AbortSignal
    task?: "transcribe" | "translate"
    temperature?: number | null
    vad?: { minSpeechMs?: number; threshold?: number; trim?: boolean } | null

    Silero VAD gate: when no speech is detected the transcript is empty and Whisper never runs. trim crops the clip to the detected speech span (plus padding) before Whisper.

    vocabulary?: string[]

    Recognition hints fitted into the prompt-token budget.

    withoutTimestamps?: boolean
    wordTimestamps?: boolean

    Word-level timestamps (verbose_json words).