js-tts-wrapper
Version:
A JavaScript/TypeScript library that provides a unified API for working with multiple cloud-based Text-to-Speech (TTS) services
4 lines (3 loc) • 500 B
TypeScript
import type { TTSCredentials } from "./types";
export type SupportedTTS = "azure" | "cartesia" | "cerevoice" | "deepgram" | "fishaudio" | "gemini" | "google" | "hume" | "mistral" | "murf" | "polly" | "elevenlabs" | "openai" | "playht" | "watson" | "witai" | "xai" | "resemble" | "unrealspeech" | "upliftai" | "modelslab" | "sherpaonnx" | "sherpaonnx-wasm" | "espeak" | "espeak-wasm" | "sapi" | "mock";
export declare function createTTSClient(engine: SupportedTTS, credentials?: TTSCredentials): any;