[project]
name = "ado2-higgsfield-server"
version = "0.1.0"
description = "ADO2 Higgsfield Shorts wrapper — LLM + Higgsfield + Remotion orchestration"
requires-python = ">=3.12"
dependencies = [
    "fastapi>=0.115",
    "uvicorn[standard]>=0.30",
    "python-multipart>=0.0.9",
    "openai>=1.50",
    "pydantic>=2.7",
    "higgsfield-client>=0.1",   # 공식 SDK — HIGGSFIELD_BACKEND=api 일 때 사용
    "fal-client>=0.5",          # fal.ai SDK — VIDEO_BACKEND=fal (Seedance 2.0 멀티이미지)
    "httpx>=0.27",              # 결과 영상 다운로드 (CDN UA 차단 회피)
]

[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = ["app", "app.pipeline"]

[tool.uvicorn]
# run:  uv run uvicorn app.main:app --reload --port 10001
