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

5 lines (4 loc) 380 B
import type { TTSCredentials } from "./types"; export type SupportedBrowserTTS = "azure" | "google" | "polly" | "elevenlabs" | "openai" | "playht" | "watson" | "witai" | "sherpaonnx-wasm" | "espeak-wasm" | "mock"; export declare function createBrowserTTSClient(engine: SupportedBrowserTTS, credentials?: TTSCredentials): any; export { createBrowserTTSClient as createTTSClient };