feat: Integrate IndexTTS2 model and update related schemas and frontend components

This commit is contained in:
2026-03-12 13:30:53 +08:00
parent e5b5a16364
commit 8aec4f6f44
151 changed files with 40077 additions and 85 deletions

View File

@@ -305,6 +305,11 @@ export const ttsApi = {
)
return response.data
},
indextts2FromDesign: async (data: { voice_design_id: number; text: string; emo_text?: string; emo_alpha?: number }): Promise<JobCreateResponse> => {
const response = await apiClient.post<JobCreateResponse>(API_ENDPOINTS.TTS.INDEXTTS2_FROM_DESIGN, data)
return response.data
},
}
const normalizeJobType = (jobType: string): JobType => {