mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-22 22:48:09 +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 music or TTS -> Mix everything
|
||||||
|
|
||||||
if has_music or has_tts:
|
if has_music or has_tts:
|
||||||
# Prepare inputs
|
# When music or TTS is used, we REMOVE the original video audio
|
||||||
if has_original_audio:
|
# and only mix the new audio sources (music + TTS)
|
||||||
audio_mix_str += "[0:a]"
|
# Original audio is intentionally excluded to avoid background noise/voices
|
||||||
inputs_for_mix += 1
|
|
||||||
|
|
||||||
if has_music:
|
if has_music:
|
||||||
# Adjust volume
|
# Adjust volume
|
||||||
|
|||||||
Reference in new issue
Block a user