기존 13+1 외부 API 호출 함수는 web-ai/services/music-render/providers로 이식. NAS는 SUNO_MODELS (정적 데이터)만 잔존. SUNO_API_KEY = "" sentinel. Plan-B-Music Phase 3 (cutover 4/4). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
21 lines
1.1 KiB
Python
21 lines
1.1 KiB
Python
"""DEPRECATED 2026-05-19 — Suno API 호출 코드는 모두 Windows music-render로 이전.
|
|
|
|
기존 13 함수 (run_suno_generation, run_suno_extend, ...)는
|
|
web-ai/services/music-render/providers/suno.py로 이식됨.
|
|
NAS는 Redis push (queue:music-render)만 담당.
|
|
|
|
SUNO_MODELS는 frontend 응답용 정적 데이터만 잔존.
|
|
"""
|
|
from __future__ import annotations
|
|
|
|
SUNO_API_KEY = "" # NAS에서 더 이상 보유 X — sentinel 유지 (다른 import 호환)
|
|
|
|
SUNO_MODELS = [
|
|
{"id": "V4", "name": "V4", "max_duration": "4분", "description": "안정적 품질, 빠른 생성"},
|
|
{"id": "V4_5", "name": "V4.5", "max_duration": "8분", "description": "향상된 장르 블렌딩"},
|
|
{"id": "V4_5PLUS", "name": "V4.5+", "max_duration": "8분", "description": "강화된 음악성"},
|
|
{"id": "V4_5ALL", "name": "V4.5 All", "max_duration": "8분", "description": "더 나은 곡 구조"},
|
|
{"id": "V5", "name": "V5", "max_duration": "8분", "description": "최신, 빠른 생성"},
|
|
{"id": "V5_5", "name": "V5.5", "max_duration": "8분", "description": "커스텀 모델"},
|
|
]
|