@lobehub/tts
Version:
A high-quality & reliable TTS React Hooks library
25 lines (24 loc) • 589 B
text/typescript
import { SsmlOptions } from "../utils/genSSML.mjs";
//#region src/core/MicrosoftSpeechTTS/createMicrosoftSpeech.d.ts
interface MicrosoftSpeechPayload {
/**
* @title 语音合成的文本
*/
input: string;
/**
* @title SSML 语音合成的配置
*/
options: SsmlOptions;
}
interface CreateMicrosoftSpeechOptions {
payload: MicrosoftSpeechPayload;
}
declare const createMicrosoftSpeech: ({
payload
}: CreateMicrosoftSpeechOptions, {
proxyUrl
}?: {
proxyUrl?: string;
}) => Promise<Response>;
//#endregion
export { MicrosoftSpeechPayload, createMicrosoftSpeech };