added poc

This commit is contained in:
bluebamus committed 2025-12-23 16:46:22 +09:00
1 parent b59139dfaf
commit 39db84c797
3 files changed
+265 -2

No files matched your search

+2 -2
View File
@@ -100,8 +100,8 @@ class SunoService:
- 다운로드 URL: 2-3분 내 생성
- 생성되는 노래는 약 1분 이내의 길이
"""
# 1분 이내 노래 생성을 위한 프롬프트 조건 추가
formatted_prompt = f"[Short Song - Under 1 minute]\n{prompt}"
# 정확히 1분 길이의 노래 생성을 위한 프롬프트 조건 추가
formatted_prompt = f"[Song Duration: Exactly 1 minute - Must be precisely 60 seconds]\n{prompt}"
# callback_url이 없으면 config에서 기본값 사용 (Suno API 필수 파라미터)
actual_callback_url = callback_url or apikey_settings.SUNO_CALLBACK_URL