利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.
Python ai-video-generatorcontent-creationffmpeginstagram-reelsllmpythonshort-videosubtitlestext-to-speechtiktokvideo-automationvideo-workflowworkflow-automationyoutube-shorts
fix: handle string video concat mode in downloads
Alejandro Martinez27f154950514
diff --git a/app/services/material.py b/app/services/material.pyindex cbb81460..754f68b7 100644--- a/app/services/material.py+++ b/app/services/material.py@@ -266,7 +266,8 @@ def download_videos(elif material_directory and not os.path.isdir(material_directory):material_directory = ""- if video_contact_mode.value == VideoConcatMode.random.value:+ concat_mode_value = getattr(video_contact_mode, "value", video_contact_mode)+ if concat_mode_value == VideoConcatMode.random.value:random.shuffle(valid_video_items)total_duration = 0.0