feat: Add emotion handling to audiobook segments with emo_text and emo_alpha attributes

This commit is contained in:
2026-03-12 14:34:20 +08:00
parent 1757f39322
commit bbcfc0e8d3
8 changed files with 37 additions and 5 deletions

View File

@@ -81,6 +81,8 @@ class AudiobookSegmentResponse(BaseModel):
character_id: int
character_name: Optional[str] = None
text: str
emo_text: Optional[str] = None
emo_alpha: Optional[float] = None
audio_path: Optional[str] = None
status: str