mcut
@mcut/transcription-local

CreateLocalWhisperProviderOptions

Generated TypeScript API reference for the public mcut SDK.

mcut SDK


mcut SDK / transcription-local/src / CreateLocalWhisperProviderOptions

Interface: CreateLocalWhisperProviderOptions

Defined in: packages/transcription-local/src/index.ts:83

Properties

createWorker?

optional createWorker?: () => Worker;

Defined in: packages/transcription-local/src/index.ts:93

Override worker creation (custom bundling setups).

Returns

Worker


device?

optional device?: "webgpu" | "wasm";

Defined in: packages/transcription-local/src/index.ts:87

Inference device. Default 'webgpu'.


dtype?

optional dtype?: WhisperDtype;

Defined in: packages/transcription-local/src/index.ts:89

Quantization. Default 'q8'.


id?

optional id?: string;

Defined in: packages/transcription-local/src/index.ts:94


model?

optional model?: string & object | "base" | "tiny.en";

Defined in: packages/transcription-local/src/index.ts:85

A WHISPER_MODELS key or any HF ASR model id. Default pickDefaultModel.


onProgress?

optional onProgress?: (progress) => void;

Defined in: packages/transcription-local/src/index.ts:91

Model download + transcription progress.

Parameters

progress

LocalWhisperProgress

Returns

void

On this page