feat(P1): Add align-prompt feature for better text-image relevance
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user