feat: P2V 파이프라인 연동 및 좋아요·댓글·공유 지원
- 무빙 포스터(p2v_video)·롱컷(p2v_playreel) 파이프라인과 워커, 갤러리·내 콘텐츠 노출 - 좋아요·댓글: comment/video_reaction에 p2v_playreel_id 추가, 종류별 CHECK 확장 - P2V 소프트 삭제(is_deleted), queued/running 삭제 차단 - 공개 상세·공유 OG 페이지 추가 - 삭제된 부모 댓글이 목록에서 사라지던 has_live_reply 서브쿼리 버그 수정 - 마이그레이션: migration_2026-10-15_p2v_reactions.sql
This commit is contained in:
1 parent
bb1ea12958
commit
b16d4a8f1b
126 files changed
+6921
-62
No files matched your search
@@ -775,6 +775,39 @@ class SsulboxSettings(BaseSettings):
|
||||
return PROJECT_DIR / self.SSULBOX_OUTPUT_DIR
|
||||
|
||||
|
||||
class P2vSettings(BaseSettings):
|
||||
"""P2V(무빙 포스터·롱컷) 고유 설정.
|
||||
|
||||
OpenAI·Suno·Azure Blob 은 castad 기존 설정(`apikey_settings`, `azure_blob_settings`)을 쓴다.
|
||||
"""
|
||||
|
||||
P2V_ENABLED: bool = Field(
|
||||
default=True,
|
||||
description=(
|
||||
"P2V 기능 활성화. False 면 라우터 등록과 워커 시작을 건너뛴다. "
|
||||
"p2v 테이블 마이그레이션 전에 배포할 때 끈다 (.env: P2V_ENABLED)"
|
||||
),
|
||||
)
|
||||
P2V_CREDITS_VIDEO: int = Field(
|
||||
default=3,
|
||||
description="무빙 포스터(p2v_video) 1건당 차감 크레딧. 생성 요청 시점에 선차감하고 실패하면 환불한다",
|
||||
)
|
||||
P2V_CREDITS_PLAYREEL: int = Field(
|
||||
default=5,
|
||||
description="롱컷(p2v_playreel) 1건당 차감 크레딧. 생성 요청 시점에 선차감하고 실패하면 환불한다",
|
||||
)
|
||||
TYPECAST_API_KEY: str = Field(
|
||||
default="",
|
||||
description="typecast TTS 엔진을 쓸 때만 필요 (.env: TYPECAST_API_KEY)",
|
||||
)
|
||||
HIGGSFIELD_ACCOUNT: str = Field(
|
||||
default="",
|
||||
description="Higgsfield CLI 토큰이 이 계정 것인지 확인만 한다 (.env: HIGGSFIELD_ACCOUNT)",
|
||||
)
|
||||
|
||||
model_config = _base_config
|
||||
|
||||
|
||||
prj_settings = ProjectSettings()
|
||||
cors_settings = CORSSettings()
|
||||
apikey_settings = APIKeySettings()
|
||||
@@ -793,3 +826,4 @@ meta_conversion_settings = MetaConversionSettings()
|
||||
internal_settings = InternalSettings()
|
||||
social_upload_settings = SocialUploadSettings()
|
||||
ssulbox_settings = SsulboxSettings()
|
||||
p2v_settings = P2vSettings()
|
||||
Reference in new issue
Block a user