db 저장 가사까지 구현

This commit is contained in:
bluebamus committed 2025-12-23 18:14:48 +09:00
1 parent 83a72aaa46
commit cafe6a894e
4 files changed
+64 -2

No files matched your search

+2
View File
@@ -75,6 +75,7 @@ class GenerateLyricResponse(BaseModel):
Example Response:
{
"success": true,
"task_id": "019123ab-cdef-7890-abcd-ef1234567890",
"lyric": "생성된 가사...",
"language": "Korean",
"prompt_used": "..."
@@ -82,6 +83,7 @@ class GenerateLyricResponse(BaseModel):
"""
success: bool = Field(..., description="생성 성공 여부")
task_id: Optional[str] = Field(None, description="작업 고유 식별자")
lyric: Optional[str] = Field(None, description="생성된 가사")
language: str = Field(..., description="가사 언어")
prompt_used: Optional[str] = Field(None, description="사용된 프롬프트")