1.0.0 • Published 2 years ago

voiceai v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Welcome to VoiceAI

This package allows you to convert text-to-speech (TTS) in 4 custom voices:

  • Snoop
  • Gwyneth
  • Matthew
  • Narrator

Caution: This is an unofficial API from Speechify. :LOL:

Getting Started

npm i voiceai
const { VoiceAI } = require("voiceai");
const voiceAI = new VoiceAI();

voiceAI.speech("What's up, Cuh? I'm Snoop Doggy Dogg.").then((audio) => {
  audio.saveTo("output.mp3");
});
const { VoiceAI } = require("voiceai");
const voiceAI = new VoiceAI();

/* Voices:

Snoop
Gwyneth
Matthew
Narrator

*/

voiceAI.speech("Hello, I'm Gwyneth. How may I help you?").then((audio) => {
  audio.saveTo("output.mp3");
});
1.0.0

2 years ago