feat(P1): Add align-prompt feature for better text-image relevance

This commit is contained in:
empty
2026-01-06 23:29:41 +08:00
parent 2978622f7f
commit 1d343e55ba
4 changed files with 166 additions and 0 deletions

View File

@@ -144,3 +144,12 @@ class ExportStatusResponse(BaseModel):
error: Optional[str] = None
class AlignPromptRequest(BaseModel):
"""Request to align image prompt with narration"""
narration: Optional[str] = Field(None, description="Override narration text")
class AlignPromptResponse(BaseModel):
"""Response after aligning prompt"""
image_prompt: str
success: bool = True