利用 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
Optimize memory usage in moviepy Upgrade version number to 1.2.0
harry931e1a0caae2
diff --git a/app/config/config.py b/app/config/config.pyindex 9717c893..a3ca2711 100644--- a/app/config/config.py+++ b/app/config/config.py@@ -56,7 +56,7 @@ project_description = _cfg.get("project_description","<a href='https://github.com/harry0703/MoneyPrinterTurbo'>https://github.com/harry0703/MoneyPrinterTurbo</a>",)-project_version = _cfg.get("project_version", "1.1.9")+project_version = _cfg.get("project_version", "1.2.0")reload_debug = Falseimagemagick_path = app.get("imagemagick_path", "")diff --git a/app/services/video.py b/app/services/video.pyindex 9aed5339..a1070063 100644--- a/app/services/video.py+++ b/app/services/video.py@@ -298,6 +298,7 @@ def generate_video(fps=30,)video_clip.close()+ del video_cliplogger.success("completed")@@ -342,6 +343,7 @@ def preprocess_video(materials: List[MaterialInfo], clip_duration=4):video_file = f"{material.url}.mp4"final_clip.write_videofile(video_file, fps=30, logger=None)final_clip.close()+ del final_clipmaterial.url = video_filelogger.success(f"completed: {video_file}")return materialsdiff --git a/webui/i18n/zh.json b/webui/i18n/zh.jsonindex bf1a6b77..d3e7077b 100644--- a/webui/i18n/zh.json+++ b/webui/i18n/zh.json@@ -56,8 +56,8 @@"You can download the generated video from the following links": "你可以从以下链接下载生成的视频","Basic Settings": "**基础设置** (:blue[点击展开])","Language": "界面语言",- "Pexels API Key": "Pexels API Key ([点击获取](https://www.pexels.com/api/))",- "Pixabay API Key": "Pixabay API Key ([点击获取](https://pixabay.com/api/docs/#api_search_videos))",+ "Pexels API Key": "Pexels API Key ([点击获取](https://www.pexels.com/api/)) :red[推荐使用]",+ "Pixabay API Key": "Pixabay API Key ([点击获取](https://pixabay.com/api/docs/#api_search_videos)) :red[可以不用配置,如果 Pexels 无法使用,再选择Pixabay]","LLM Provider": "大模型提供商","API Key": "API Key (:red[必填,需要到大模型提供商的后台申请])","Base Url": "Base Url (可选)",