利用 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
increase the timeout value
harry0d3b7b7c5ca0
diff --git a/app/services/material.py b/app/services/material.pyindex bc5efaa7..56bf136d 100644--- a/app/services/material.py+++ b/app/services/material.py@@ -100,7 +100,7 @@ def save_video(video_url: str, save_dir: str = "") -> str:# if video does not exist, download itproxies = config.pexels.get("proxies", None)with open(video_path, "wb") as f:- f.write(requests.get(video_url, proxies=proxies, verify=False, timeout=(10, 180)).content)+ f.write(requests.get(video_url, proxies=proxies, verify=False, timeout=(60, 240)).content)return video_path