MCPcopy
hub / github.com/1Panel-dev/MaxKB / textToSpeech

Function textToSpeech

ui/src/api/chat/chat.ts:267–272  ·  view source on GitHub ↗
(
  data,
  loading,
)

Source from the content-addressed store, hash-verified

265 * 文本转语音
266 */
267const textToSpeech: (data: any, loading?: Ref<boolean>) => Promise<Result<any>> = (
268 data,
269 loading,
270) => {
271 return download(`text_to_speech`, 'post', data, undefined, loading)
272}
273
274/**
275 * 语音转文本

Callers

nothing calls this directly

Calls 1

downloadFunction · 0.90

Tested by

no test coverage detected