o2o-ado2-short-form/configs/higgsfield.yaml

42 lines
1.1 KiB
YAML

# Higgsfield API configuration for ADO2 marketing pipeline
# Env vars: HIGGSFIELD_API_KEY, HIGGSFIELD_BASE_URL
api:
base_url: "${HIGGSFIELD_BASE_URL:-https://api.higgsfield.ai/v1}"
api_key_env: "HIGGSFIELD_API_KEY"
timeout_seconds: 180
max_retries: 3
retry_backoff_seconds: [5, 15, 45]
defaults:
aspect_ratio: "9:16" # Phase 1: Reels/Shorts only
duration_seconds: 8
fps: 30
resolution: "1080x1920"
output_format: "mp4"
output_codec: "h264"
cost_guardrails:
max_cost_per_video_usd: 2.0
monthly_budget_per_tenant_usd: 80 # 월 40편 기준
alert_threshold_pct: 80
quality_gates:
# 자동 컷오프 기준 (생성 후 검수)
reject_if:
- face_artifact_score_gt: 0.6 # 얼굴 왜곡 자동 컷
- hand_artifact_score_gt: 0.7
- text_artifact_present: true # 자동 생성된 가짜 텍스트
- structural_drift_gt: 0.4 # 펜션 구조 변형 의심
concurrency:
max_parallel_renders: 3
queue_priority:
- tenant_priority_high: 1
- tenant_priority_normal: 2
observability:
log_level: "INFO"
metrics_endpoint: "${PROMETHEUS_PUSHGATEWAY_URL:-}"
trace_sample_rate: 0.1