/whisper

Open AI's Speech-to-Text API Supported Node Package.

Primary LanguageJavaScript

Whisper

• Installation

npm i @nicat.dcw/whisper -g

• Updates

06:03:2023 - First Release

• Setup

import { WhisperClient } from '@nicat.dcw/whisper'

const whisper = new WhisperClient({
    key:"OPENAI ACCESS TOKEN HERE",
    debug:"" // for debugging. Options: true or false
})

• Start Whisper

whisper.start({
    file:"FILE NAME AND FILE DIRECTORY GOES HERE",
    language:"en"
})

• Stop Whisper

whisper.stop()

IMPORTANT!

This package only Es Module (ESM), no CommonJS.

Contact: website