UNPKG
@nicat.dcw/whisper
Version:
latest (1.0.2)
1.0.2
1.0.1
Open AI's Speech-to-Text API Supported Node Package.
nicat-dcw.me
Nicat-dcw/whisper
@nicat.dcw/whisper
/
src
/
test.js
12 lines
(9 loc)
•
232 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import { WhisperClient }
from
'./index.js'
const
client
=
new
WhisperClient
({ key: process.env.key, debug:
"true"
}) client.
start
({
language
:
'en'
,
file
:
'./The Downtown Fiction - I Just Wanna Run (Sped Up) (128K).mp3'
})