UNPKG

nwhisper

Version:

Native Node.js bindings for OpenAI's Whisper using whisper.cpp. High-performance local speech-to-text with custom model support.

8 lines 507 B
export declare const MODELS_LIST: readonly ["tiny", "tiny.en", "base", "base.en", "small", "small.en", "medium", "medium.en", "large-v1", "large", "large-v3-turbo"]; export type ModelName = (typeof MODELS_LIST)[number]; export declare const MODELS: string[]; export declare const MODEL_OBJECT: Record<ModelName, string>; export declare const DEFAULT_MODEL = "tiny.en"; export declare const WHISPER_CPP_PATH: string; export declare const WHISPER_CPP_MAIN_PATH: string; //# sourceMappingURL=constants.d.ts.map