UNPKG

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) 340 B
import type { TTSCredentials } from "./types"; export type SupportedTTS = "azure" | "google" | "polly" | "elevenlabs" | "openai" | "playht" | "watson" | "witai" | "sherpaonnx" | "sherpaonnx-wasm" | "espeak" | "espeak-wasm" | "sapi" | "mock"; export declare function createTTSClient(engine: SupportedTTS, credentials?: TTSCredentials): any;