mlx-bun library API
    Preparing search index...
    interface TranscriptionServiceOptions {
        keepAliveSec?: number;
        media?: MediaRuntime;
        minimumAudioSeconds?: number;
        modelId?: string;
        models: Pick<
            ModelHost,
            "acquire"
            | "defaultFor"
            | "resident"
            | "stats"
            | "unload",
        >;
        now?: () => number;
        vadModelPath?: string | null;
    }
    Index
    keepAliveSec?: number

    Seconds the model stays loaded after each take, overriding the host's policy.

    media?: MediaRuntime

    The speech gate and audio decoding; tests supply a fake.

    minimumAudioSeconds?: number

    HTTP admission defaults to 0.1 s; the file CLI accepts shorter clips.

    modelId?: string

    The checkpoint to lease; default: the host's default for transcribe, resolved on first use.

    models: Pick<
        ModelHost,
        "acquire"
        | "defaultFor"
        | "resident"
        | "stats"
        | "unload",
    >

    The host's model service: leases, residency and the execution lock.

    now?: () => number

    Monotonic milliseconds for the reported timings.

    vadModelPath?: string | null

    Explicit Silero ggml path (default: the HF cache copy of ggml-org/whisper-vad).