feat(ssulbox): SNS 업로드 제목·설명·태그 자동 생성

This commit is contained in:
skkim committed 2026-08-11 11:03:04 +09:00
1 parent fb8febe462
commit 50dc7af5bc
7 files changed
+234 -6

No files matched your search

+8 -1
View File
@@ -2,13 +2,20 @@
소셜 SEO 관련 Pydantic 스키마
"""
from typing import Literal
from pydantic import BaseModel, ConfigDict, Field
class YoutubeDescriptionRequest(BaseModel):
"""유튜브 SEO Description 제안 요청"""
task_id: str = Field(..., description="작업 고유 식별자")
# 썰박스 콘텐츠의 SEO 를 요청할 때는 "ssul" + task_id 자리에 ssul_content.id.
# 종류를 안 밝히면 video 로 간주된다 (기존 호출 호환).
content_type: Literal["video", "ssul"] = Field(
default="video", description="콘텐츠 종류"
)
task_id: str = Field(..., description="작업 고유 식별자 (ssul 이면 ssul_content.id)")
model_config = ConfigDict(
json_schema_extra={