voiceai

1.0.0 • Public • Published

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");
});

Readme

Keywords

Package Sidebar

Install

npm i voiceai

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

4.17 kB

Total Files

7

Last publish

Collaborators

  • luoshenshi