nwhisper
Version:
Native Node.js bindings for OpenAI's Whisper using whisper.cpp. High-performance local speech-to-text with custom model support.
21 lines • 591 B
TypeScript
export interface WhisperOptions {
outputInCsv?: boolean;
outputInJson?: boolean;
outputInJsonFull?: boolean;
outputInLrc?: boolean;
outputInSrt?: boolean;
outputInText?: boolean;
outputInVtt?: boolean;
outputInWords?: boolean;
translateToEnglish?: boolean;
language?: string;
timestamps_length?: number;
wordTimestamps?: boolean;
splitOnWord?: boolean;
}
export interface Logger {
debug: (...args: unknown[]) => void;
error: (...args: unknown[]) => void;
log: (...args: unknown[]) => void;
}
//# sourceMappingURL=types.d.ts.map