UNPKG

text-to-audio-converter

Version:

This Node.js package is open source and uses ElevenLabs' Text to Speech API.

9 lines (7 loc) 278 B
import Storage from "./utils/Storage.js"; import {textToSpeech} from "./methods/text-to-speech.js"; import { VoiceListing } from "./methods/modal-listing.js"; function setApiKey(apiKey) { Storage.apiKey = apiKey; } export { textToSpeech, setApiKey, VoiceListing };