mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
4.6.5- CoreferenceResolution Module (#631)
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
import type { NextApiResponse } from 'next';
|
||||
import { getAIApi } from '../config';
|
||||
import { defaultAudioSpeechModels } from '../../../../global/core/ai/model';
|
||||
import { UserModelSchema } from '@fastgpt/global/support/user/type';
|
||||
|
||||
export async function text2Speech({
|
||||
res,
|
||||
onSuccess,
|
||||
onError,
|
||||
input,
|
||||
model = defaultAudioSpeechModels[0].model,
|
||||
model,
|
||||
voice,
|
||||
speed = 1
|
||||
}: {
|
||||
|
Reference in New Issue
Block a user