UNPKG

@andresaya/edge-tts

Version:

Edge TTS is a package that allows access to the online text-to-speech service used by Microsoft Edge without the need for Microsoft Edge, Windows, or an API key.

38 lines (37 loc) 1.02 kB
export declare const Constants: { TRUSTED_CLIENT_TOKEN: string; BASE_URL: string; WSS_URL: string; VOICES_URL: string; CHROMIUM_FULL_VERSION: string; CHROMIUM_MAJOR_VERSION: string; VERSION_MS_GEC: string; token32(): string; getBaseHeaders(): { 'User-Agent': string; 'Accept-Encoding': string; 'Accept-Language': string; Cookie: string; }; WSS_HEADERS: { Pragma: string; 'Cache-Control': string; Origin: string; 'Sec-WebSocket-Protocol': string; 'Sec-WebSocket-Version': string; 'User-Agent': string; }; VOICE_HEADERS: { 'Sec-CH-UA': string; 'Sec-CH-UA-Mobile': string; Accept: string; 'Sec-Fetch-Site': string; 'Sec-Fetch-Mode': string; 'Sec-Fetch-Dest': string; }; OUTPUT_FORMAT: { AUDIO_24KHZ_48KBITRATE_MONO_MP3: string; AUDIO_24KHZ_96KBITRATE_MONO_MP3: string; WEBM_24KHZ_16BIT_MONO_OPUS: string; }; };