Commit Graph

3 Commits (main)

Author SHA1 Message Date
hbyang 31afa04aa9 feat: 비동기 파이프라인 + fal Seedance 2.0 + Azure Blob 갤러리
[비동기 처리]
- POST /api/generate → 즉시 job_id 반환 (202), 백그라운드 ThreadPoolExecutor
- GET /api/jobs/{id} 상태 폴링 (queued→running→done/error)
- MAX_CONCURRENT_JOBS 환경변수로 동시 처리 수 제어

[영상 생성 백엔드]
- VIDEO_BACKEND=fal: fal.ai Seedance 2.0 reference-to-video (멀티이미지 9장 + 9:16 세로)
- VIDEO_BACKEND=higgsfield: Higgsfield (dop/seedance v1/kling, 단일 이미지)
- 파일명 ASCII 정규화 (한글 파일명 → fal 업로드 codec 에러 방지)

[Remotion 안정화]
- BrandLines/SellingBadge/HookTitle interpolate 범위 역전 크래시 수정
- _timings() 를 고정값 clamp → 영상 길이 비례 스케일로 변경
- 폰트 NanumMyeongjo weight 800 제거, latin subset 제거 (요청 수 ~50% 감소)
- render() 반환값에 임시 파일 목록 추가, 완료/실패 시 자동 정리

[Azure Blob Storage]
- 완성 영상·메타데이터 JSON 자동 업로드 (azure_storage.py)
- /api/outputs: Azure List Blobs 우선, 로컬 fallback
- video_url을 Azure 공개 URL로 갱신 (SAS 불필요)

[갤러리 UI]
- 상단 "생성된 영상" 버튼 → 9:16 썸네일 그리드 + 상세 재생/다운로드
- 생성 실패 시 데모 폴백 제거 → 에러 카드 표시

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 14:41:33 +09:00
hbyang 154bf5b992 seedance 적용. 2026-06-01 13:41:51 +09:00
o2odev 4deefff061 Initial commit: ADO2 Hookit — 8초 후킹 숏폼 생성 파이프라인
3-엔진 오케스트레이션(Claude → Higgsfield → Remotion) PoC + 셀프 웹앱.
백엔드 개발자 핸드오프 문서(HANDOFF.md) 포함.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 12:03:48 +09:00