利用 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
chore(webui): update llm provider copy
harry070363113a34228c
diff --git a/README-en.md b/README-en.mdindex dc4f7d13..ca6e849b 100644--- a/README-en.md+++ b/README-en.md@@ -30,15 +30,6 @@ materials, video subtitles, and video background music before synthesizing a hig## Special Thanks 🙏<table align="center">- <tr>- <td align="center" width="160">- <a href="https://aihubmix.com/?aff=CEve"><strong>AIHubMix</strong></a>- </td>- <td align="left">- <sub>Thanks to <a href="https://aihubmix.com/?aff=CEve">AIHubMix</a> for sponsoring this project. AIHubMix deeply adapts to OpenAI, Claude, Gemini, DeepSeek, Zhipu, Qwen, and other leading models, providing one-stop access to GPT-5.5, deepseek-v4-flash, and 700+ models including free options with production-grade stability.</sub>- </td>- </tr>-<tr><td align="center" width="160"><a href="https://www.byteplus.com/en/product/modelark?utm_campaign=hw&utm_content=MoneyPrinterTurbo&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo"><img src="docs/sponsors/byteplus-logo.svg" alt="BytePlus" height="25"></a><br>@@ -200,7 +191,6 @@ git clone https://github.com/harry0703/MoneyPrinterTurbo.git- Copy the `config.example.toml` file and rename it to `config.toml`- Follow the instructions in the `config.toml` file to configure `pexels_api_keys` and `llm_provider`, and according tothe llm_provider's service provider, set up the corresponding API Key-- To use the recommended multi-model provider, you can set `llm_provider` to `aihubmix` and enter the corresponding API key.### Docker Deployment 🐳diff --git a/README.md b/README.mdindex 76460ee1..38f65cb8 100644--- a/README.md+++ b/README.md@@ -30,15 +30,6 @@## 特别感谢 🙏<table align="center">- <tr>- <td align="center" width="160">- <a href="https://aihubmix.com/?aff=CEve"><strong>AIHubMix</strong></a>- </td>- <td align="left">- <sub>感谢 <a href="https://aihubmix.com/?aff=CEve">AIHubMix</a> 对本项目的赞助。AIHubMix 深度适配 OpenAI、Claude、Gemini、DeepSeek、智谱、千问等全球顶级最新模型,一站式快速接入 GPT-5.5、deepseek-v4-flash 等 700+ 模型(含多个免费模型),提供企业级生产稳定性保障。</sub>- </td>- </tr>-<tr><td align="center" width="160"><a href="https://www.volcengine.com/activity/ai618?utm_campaign=hw&utm_content=hw&utm_medium=devrel_tool_web&utm_source=OWO&utm_term=MoneyPrinterTurbo"><img src="docs/sponsors/volcengine-logo.svg" alt="火山引擎" height="32"></a><br>@@ -199,7 +190,6 @@ git clone https://github.com/harry0703/MoneyPrinterTurbo.git- 将 `config.example.toml` 文件复制一份,命名为 `config.toml`- 按照 `config.toml` 文件中的说明,配置好 `pexels_api_keys` 和 `llm_provider`,并根据 llm_provider 对应的服务商,配置相关的API Key-- 如果希望使用推荐的大模型平台,也可以将 `llm_provider` 设置为 `aihubmix`,并填写对应的 API Key。### Docker部署 🐳diff --git a/app/config/config.py b/app/config/config.pyindex 1ace0877..87ad8a96 100644--- a/app/config/config.py+++ b/app/config/config.py@@ -181,8 +181,7 @@ listen_port = _cfg.get("listen_port", 8080)project_name = _cfg.get("project_name", "MoneyPrinterTurbo")project_description = _cfg.get("project_description",- "<a href='https://github.com/harry0703/MoneyPrinterTurbo'>https://github.com/harry0703/MoneyPrinterTurbo</a>"- "<br><small>Supported by <a href='https://aihubmix.com/?aff=CEve'>AIHubMix</a></small>",+ "<a href='https://github.com/harry0703/MoneyPrinterTurbo'>https://github.com/harry0703/MoneyPrinterTurbo</a>",)project_version = _cfg.get("project_version", "1.3.0")reload_debug = Falsediff --git a/config.example.toml b/config.example.tomlindex 305fe22d..94725345 100644--- a/config.example.toml+++ b/config.example.toml@@ -128,7 +128,7 @@ openai_model_name = "gpt-4o-mini"########## AIHubMix API Key# AIHubMix is OpenAI-compatible and can use one API key to access multiple models.-# Visit https://aihubmix.com/?aff=CEve to register and get your API key.+# Visit https://aihubmix.com to register and get your API key.aihubmix_api_key = ""aihubmix_base_url = "https://aihubmix.com/v1"aihubmix_model_name = "gpt-5.4-mini"diff --git a/webui/Main.py b/webui/Main.pyindex 02a221f1..1f0dcf08 100644--- a/webui/Main.py+++ b/webui/Main.py@@ -341,16 +341,11 @@ if not config.app.get("hide_config", False):with middle_config_panel:st.write(tr("LLM Settings"))- # 下拉框需要展示“AIHubMix(推荐)”这类面向用户的文案,- # 但配置文件和后端逻辑必须继续使用稳定的小写 provider id。- # 因此这里显式维护 display label 和 provider id 的映射,避免- # UI 文案变化污染 `config.app["llm_provider"]`。- aihubmix_label = f"AIHubMix ({tr('Recommended')})"- if config.ui.get("language") == "zh":- aihubmix_label = "AIHubMix(推荐)"+ # 下拉框展示文本和后端 provider id 分开维护,避免 UI 文案变化+ # 污染 `config.app["llm_provider"]` 这类稳定配置值。llm_provider_options = [("OpenAI", "openai"),- (aihubmix_label, "aihubmix"),+ ("AIHubMix", "aihubmix"),("AIML API", "aimlapi"),("EvoLink", "evolink"),("VolcEngine", "volcengine"),@@ -449,15 +444,9 @@ if not config.app.get("hide_config", False):with llm_helper:tips = """##### AIHubMix 配置说明- - **注册链接**: [点击注册 AIHubMix](https://aihubmix.com/?aff=CEve)+ - **API Key**: 在 AIHubMix 控制台创建 API Key- **Base Url**: 预填 https://aihubmix.com/v1- - **推荐模型**: 默认 gpt-5.4-mini,也可以填写 AIHubMix 支持的免费模型或其它模型 ID-- 推荐理由:- - **模型全**: Claude、GPT、Gemini、Grok、DeepSeek、通义等 700+ 模型一站覆盖- - **稳定**: 无限并发,永远在线,集群部署于谷歌云,长期为众多知名应用提供高并发服务- - **能力完整**: 文本、图片生成、视频生成、TTS、STT、向量嵌入、Rerank,多模态场景全搞定- - **计费透明**: 按量付费,无会员无包月,免费模型可使用+ - **Model Name**: 默认 gpt-5.4-mini,也可以填写 AIHubMix 支持的其它模型 ID"""if llm_provider == "aimlapi":