1.0.7 ā¢ Published 3 years ago
voicetext.js v1.0.7
VoiceText.js is an API library to easily convert text into a voice.
š Docs
Install
yarn install
(depricated) npm install
Usage
Get your API key here
Install
Install globally
yarn global add voicetext.js
(depricated) npm install -g voicetext.js
As a dependency
yarn add voicetext.js
(depricated) npm install -D voicetext.js
import VoiceText, { Speaker, Emotion, Format } from 'voicetext.js'
new VoiceText(process.env.API_KEY)
.setText('Hello, world!')
.setSpeaker(Speaker.SHOW)
.setFileName("./helloworld")
.setFileFormat(Format.MP3)
.fetch()
Author
š¤ Shun Ueda (Kotlia)