mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
feat: add initial API routes for Reels, including music search, popular tracks, and favorite management.
This commit is contained in:
1 parent
a01194cc79
commit
5a67ed2e83
1 file changed
+3
-4
@@ -907,10 +907,9 @@ async def process_reel(request: ReelRequest, x_api_key: str = Header(None)):
|
||||
# If music or TTS -> Mix everything
|
||||
|
||||
if has_music or has_tts:
|
||||
# Prepare inputs
|
||||
if has_original_audio:
|
||||
audio_mix_str += "[0:a]"
|
||||
inputs_for_mix += 1
|
||||
# When music or TTS is used, we REMOVE the original video audio
|
||||
# and only mix the new audio sources (music + TTS)
|
||||
# Original audio is intentionally excluded to avoid background noise/voices
|
||||
|
||||
if has_music:
|
||||
# Adjust volume
|
||||
|
||||
Reference in new issue
Block a user