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

@@ -31,6 +31,7 @@ class AudiobookCharacterResponse(BaseModel):
description: Optional[str] = None
instruct: Optional[str] = None
voice_design_id: Optional[int] = None
use_indextts2: bool = False
model_config = ConfigDict(from_attributes=True)
@@ -69,6 +70,7 @@ class AudiobookCharacterEdit(BaseModel):
description: Optional[str] = None
instruct: Optional[str] = None
voice_design_id: Optional[int] = None
use_indextts2: Optional[bool] = None
class AudiobookSegmentResponse(BaseModel):