voicetext.js
v1.0.7
Published
<h1 align="center">VoiceText.js</h1> <p> <a href="https://www.npmjs.com/package/voicetext.js" target="_blank"> <img alt="Version" src="https://img.shields.io/npm/v/voicetext.js.svg"> </a> <a href="http://voicetext.ml" target="_blank"> <img a
Downloads
11
Readme
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)