UNPKG

@lobehub/tts

Version:

A high-quality & reliable TTS React Hooks library

19 lines (18 loc) 507 B
import { type SsmlOptions } from '../utils/genSSML'; export interface MicrosoftSpeechPayload { /** * @title 语音合成的文本 */ input: string; /** * @title SSML 语音合成的配置 */ options: SsmlOptions; } interface CreateMicrosoftSpeechOptions { payload: MicrosoftSpeechPayload; } export declare const createMicrosoftSpeech: ({ payload }: CreateMicrosoftSpeechOptions, { proxyUrl }?: { proxyUrl?: string | undefined; }) => Promise<Response>; export {};