利用 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(ui): address reviewer feedback on label, checkbox sync, i18n, and tests
Praveen Bishnoie5a4a1034b82
diff --git a/test/services/test_task.py b/test/services/test_task.pyindex dffe4579..c201fb1f 100644--- a/test/services/test_task.py+++ b/test/services/test_task.py@@ -5,7 +5,7 @@ import sysimport tempfilefrom concurrent.futures import Futurefrom pathlib import Path-from unittest.mock import MagicMock, patch+from unittest.mock import MagicMock, patch, PropertyMockfrom uuid import uuid4# add project root to python path@@ -1226,9 +1226,9 @@ class TestTaskService(unittest.TestCase):),),patch.object(service, "is_configured", return_value=True),- patch.object(service, "auto_upload", True),- patch.object(service, "platforms", ["youtube"]),- patch.object(service, "youtube_privacy_status", "unlisted"),+ patch.object(type(service), "auto_upload", new_callable=PropertyMock, return_value=True),+ patch.object(type(service), "platforms", new_callable=PropertyMock, return_value=["youtube"]),+ patch.object(type(service), "youtube_privacy_status", new_callable=PropertyMock, return_value="unlisted"),patch.object(tm.llm,"generate_social_metadata",@@ -1314,9 +1314,9 @@ class TestTaskService(unittest.TestCase):return_value=(["final.mp4"], ["combined.mp4"], []),),patch.object(service, "is_configured", return_value=True),- patch.object(service, "auto_upload", True),- patch.object(service, "platforms", ["tiktok"]),- patch.object(service, "youtube_privacy_status", "private"),+ patch.object(type(service), "auto_upload", new_callable=PropertyMock, return_value=True),+ patch.object(type(service), "platforms", new_callable=PropertyMock, return_value=["tiktok"]),+ patch.object(type(service), "youtube_privacy_status", new_callable=PropertyMock, return_value="private"),patch.object(tm.upload_post, "cross_post_video") as cross_post,patch.object(tm.sm, "state", state),patch.object(@@ -1412,9 +1412,9 @@ class TestTaskService(unittest.TestCase):return_value=(["final.mp4"], ["combined.mp4"], []),),patch.object(service, "is_configured", return_value=True),- patch.object(service, "auto_upload", True),- patch.object(service, "platforms", ["tiktok"]),- patch.object(service, "youtube_privacy_status", "private"),+ patch.object(type(service), "auto_upload", new_callable=PropertyMock, return_value=True),+ patch.object(type(service), "platforms", new_callable=PropertyMock, return_value=["tiktok"]),+ patch.object(type(service), "youtube_privacy_status", new_callable=PropertyMock, return_value="private"),patch.object(tm.sm, "state", state),patch.object(tm._cross_post_slots, "acquire", return_value=False),patch.object(tm._cross_post_executor, "submit") as submit,diff --git a/test/services/test_webui_settings_transfer.py b/test/services/test_webui_settings_transfer.pyindex 9217ef4a..92ee72cc 100644--- a/test/services/test_webui_settings_transfer.py+++ b/test/services/test_webui_settings_transfer.py@@ -35,6 +35,7 @@ SETTINGS_TRANSFER_CONSTANTS = {"CREDENTIAL_KEY_SUFFIXES","CREDENTIAL_COMPANION_KEYS","CREDENTIAL_WIDGET_STATE_ALIASES",+ "NON_LLM_COMPANION_KEYS","KEY_BACKUP_EXCLUDED_SECTIONS",}@@ -118,7 +119,11 @@ def _sample_config_sections():"cloudflare_api_key": "cf-key","cloudflare_account_id": "cf-account","cloudflare_gateway_id": "cf-gateway",+ "upload_post_api_key": "api-key-123",+ "upload_post_username": "my-username","video_language": "en-US",+ "upload_post_api_key": "api-key-123",+ "upload_post_username": "my-username",},"azure": {"speech_key": "azure-key", "speech_region": "westeurope"},"elevenlabs": {"api_key": "eleven-key", "model_id": "eleven_v3"},@@ -216,11 +221,13 @@ def test_key_backup_collects_credentials_and_their_companion_settings():"cloudflare_api_key": "cf-key","cloudflare_account_id": "cf-account","cloudflare_gateway_id": "cf-gateway",+ "upload_post_api_key": "api-key-123",+ "upload_post_username": "my-username",},"azure": {"speech_key": "azure-key", "speech_region": "westeurope"},"elevenlabs": {"api_key": "eleven-key"},}- assert count_backup_keys(backup) == 8+ assert count_backup_keys(backup) == 10def test_key_backup_carries_llm_provider_extra_fields_with_the_key():@@ -271,6 +278,9 @@ def test_key_backup_round_trip_restores_every_saved_key():restored = parse_key_backup(_encode(payload), sections)assert restored == collect_key_backup(sections)+ # Explicit assertion for upload_post credentials restoration requested by reviewer+ assert restored["app"]["upload_post_api_key"] == "api-key-123"+ assert restored["app"]["upload_post_username"] == "my-username"def test_key_backup_import_ignores_unknown_sections_and_non_key_settings():diff --git a/test/services/test_webui_upload_post_settings.py b/test/services/test_webui_upload_post_settings.pynew file mode 100644index 00000000..00d7513f--- /dev/null+++ b/test/services/test_webui_upload_post_settings.py@@ -0,0 +1,68 @@+from unittest.mock import patch+from pathlib import Path+from streamlit.testing.v1 import AppTest++from app.config import config++ROOT_DIR = Path(__file__).parent.parent.parent+WEBUI_MAIN = ROOT_DIR / "webui" / "Main.py"++def _widget_by_key(elements, key):+ return next(+ item+ for item in elements+ if str(getattr(item, "key", "")) == key+ or str(getattr(item, "key", "")).startswith(f"{key}_")+ )++def test_webui_upload_post_checkbox_syncs_persisted_mismatch():+ # Persisted mismatch: enabled=True, auto_upload=False+ test_app_config = dict(+ config.app,+ upload_post_enabled=True,+ upload_post_auto_upload=False+ )++ with (+ patch.object(config, "app", test_app_config),+ patch.object(config, "try_save_config", return_value=True),+ ):+ app = AppTest.from_file(str(WEBUI_MAIN), default_timeout=60)+ app.run()+ app.session_state["settings_dialog_open"] = True+ app.run()++ # When UI runs, it sees enabled=True and auto_upload=False.+ # Checkbox should be UNCHECKED because ui_state = is_enabled and is_auto+ checkbox = _widget_by_key(app.checkbox, "upload_post_enabled_checkbox")+ assert checkbox.value is False++ # Now user clicks it to TRUE+ checkbox.set_value(True)+ app.run()++ # Verify it updated both+ assert config.app["upload_post_enabled"] is True+ assert config.app["upload_post_auto_upload"] is True++def test_webui_upload_post_youtube_privacy_fallback_to_public():+ # If the config somehow contains an invalid YouTube privacy value (e.g. "draft"),+ # it should not crash the UI and should silently fallback to "public".+ test_app_config = dict(+ config.app,+ upload_post_platforms=["youtube"],+ upload_post_youtube_privacy_status="draft"+ )++ with (+ patch.object(config, "app", test_app_config),+ patch.object(config, "try_save_config", return_value=True),+ ):+ app = AppTest.from_file(str(WEBUI_MAIN), default_timeout=60)+ app.run()+ app.session_state["settings_dialog_open"] = True+ app.run()++ # The selectbox should be rendered and its value should fallback to "public"+ yt_privacy_selectbox = _widget_by_key(app.selectbox, "upload_post_youtube_privacy_status_selectbox")+ assert yt_privacy_selectbox.value == "public"diff --git a/webui/Main.py b/webui/Main.pyindex 67c51f29..ec0feb41 100644--- a/webui/Main.py+++ b/webui/Main.py@@ -182,6 +182,10 @@ CREDENTIAL_COMPANION_KEYS = {for field in provider.extra_fields),}++NON_LLM_COMPANION_KEYS = {+ "app": ("upload_post_username",)+}# 同一个密钥在不同面板可能使用各自的控件 key:音频面板直接编辑 Gemini 和# MiMo 的 LLM 密钥,胜算云密钥的控件没有 _input 后缀。恢复备份时必须清除# 每一个别名,否则遗留的旧值会在下一次 rerun 覆盖刚刚恢复的密钥。@@ -2201,7 +2205,9 @@ def _is_backup_config_key(section_name, key):"""凭据本身及其配套配置项都属于密钥备份范围。"""if _is_credential_config_key(key):return True- return key in CREDENTIAL_COMPANION_KEYS.get(section_name, ())+ if key in CREDENTIAL_COMPANION_KEYS.get(section_name, ()):+ return True+ return key in NON_LLM_COMPANION_KEYS.get(section_name, ())def _credential_widget_state_keys(section_name, key):@@ -2538,12 +2544,16 @@ def _render_settings_dialog():with publish_config_panel:st.write(tr("Automatically publish generated videos to social media using upload-post.com"))+ is_enabled = config.app.get("upload_post_enabled", False)+ is_auto = config.app.get("upload_post_auto_upload", False)+ ui_state = is_enabled and is_auto+upload_post_enabled = st.checkbox(tr("Enable Auto-Publish"),- value=config.app.get("upload_post_enabled", False),+ value=ui_state,key="upload_post_enabled_checkbox")- if upload_post_enabled != config.app.get("upload_post_enabled", False):+ if upload_post_enabled != is_enabled or upload_post_enabled != is_auto:_set_runtime_config("app", "upload_post_enabled", upload_post_enabled)_set_runtime_config("app", "upload_post_auto_upload", upload_post_enabled)@@ -2558,9 +2568,9 @@ def _render_settings_dialog():_set_runtime_config("app", "upload_post_api_key", upload_post_api_key)upload_post_username = st.text_input(- tr("Upload-Post Username (Email)"),+ tr("Upload-Post Profile Username"),value=config.app.get("upload_post_username", ""),- help="Your upload-post.com registered email",+ help="Your upload-post.com publishing profile username (not your account email)",key="upload_post_username_input")if upload_post_username != config.app.get("upload_post_username", ""):@@ -2577,10 +2587,14 @@ def _render_settings_dialog():_set_runtime_config("app", "upload_post_platforms", upload_post_platforms)if "youtube" in upload_post_platforms:+ yt_status_options = ["public", "private", "unlisted"]+ yt_saved = config.app.get("upload_post_youtube_privacy_status", "public")+ if yt_saved not in yt_status_options:+ yt_saved = "public"upload_post_youtube_privacy_status = st.selectbox(tr("YouTube Privacy Status"),- options=["public", "private", "unlisted"],- index=["public", "private", "unlisted"].index(config.app.get("upload_post_youtube_privacy_status", "public")),+ options=yt_status_options,+ index=yt_status_options.index(yt_saved),key="upload_post_youtube_privacy_status_selectbox")if upload_post_youtube_privacy_status != config.app.get("upload_post_youtube_privacy_status", "public"):diff --git a/webui/i18n/de.json b/webui/i18n/de.jsonindex f94f71bf..6987886e 100644--- a/webui/i18n/de.json+++ b/webui/i18n/de.json@@ -321,6 +321,13 @@"WaveSpeed Billing Notice Without Script": "Jeder generierte Clip wird von WaveSpeed einzeln berechnet. Geben Sie das Videoskript ein oder generieren Sie es, um eine geschätzte Clip-Anzahl zu sehen. Die Generierung erfolgt Segment für Segment und stoppt, sobald genügend Material vorliegt.","Confirm WaveSpeed Charge": "Ich verstehe, dass die WaveSpeed-Videogenerierung ein kostenpflichtiger Dienst ist","Confirm WaveSpeed Charge Help": "Clips werden bedarfsgesteuert Segment für Segment generiert; die Generierung stoppt, sobald das Material die Sprecherdauer abdeckt. Die Gebühren berechnet WaveSpeed pro generiertem Clip.",- "Confirm WaveSpeed Charge Required": "Bitte bestätigen Sie die WaveSpeed-Generierungskosten, bevor Sie das Video erstellen."+ "Confirm WaveSpeed Charge Required": "Bitte bestätigen Sie die WaveSpeed-Generierungskosten, bevor Sie das Video erstellen.",+ "Auto-Publish Settings": "Auto-Publish Settings",+ "Automatically publish generated videos to social media using upload-post.com": "Automatically publish generated videos to social media using upload-post.com",+ "Enable Auto-Publish": "Enable Auto-Publish",+ "Platforms": "Platforms",+ "Upload-Post API Key": "Upload-Post API Key",+ "Upload-Post Profile Username": "Upload-Post Profile Username",+ "YouTube Privacy Status": "YouTube Privacy Status"}}diff --git a/webui/i18n/en.json b/webui/i18n/en.jsonindex da9bbefc..f8815a27 100644--- a/webui/i18n/en.json+++ b/webui/i18n/en.json@@ -386,6 +386,13 @@"Resume LoomLoom Status Check": "Resume Status Check","Stop Tracking LoomLoom Run": "Stop Tracking","Stop Tracking LoomLoom Run Help": "Stops local status checks only. It does not cancel a paid run that may still be active on Shengsuan Cloud.",- "llm_provider_tips.litellm": "##### LiteLLM Configuration\n- **API Key**: not entered here; configure the target Provider key through environment variables\n- **Base Url**: not required\n- **Model Name**: defaults to `{default_model}`; use the `provider/model` format and see the [Provider list](https://docs.litellm.ai/docs/providers)"+ "llm_provider_tips.litellm": "##### LiteLLM Configuration\n- **API Key**: not entered here; configure the target Provider key through environment variables\n- **Base Url**: not required\n- **Model Name**: defaults to `{default_model}`; use the `provider/model` format and see the [Provider list](https://docs.litellm.ai/docs/providers)",+ "Auto-Publish Settings": "Auto-Publish Settings",+ "Automatically publish generated videos to social media using upload-post.com": "Automatically publish generated videos to social media using upload-post.com",+ "Enable Auto-Publish": "Enable Auto-Publish",+ "Platforms": "Platforms",+ "Upload-Post API Key": "Upload-Post API Key",+ "Upload-Post Profile Username": "Upload-Post Profile Username",+ "YouTube Privacy Status": "YouTube Privacy Status"}}diff --git a/webui/i18n/es.json b/webui/i18n/es.jsonindex 56fa9c64..3c28b6e3 100644--- a/webui/i18n/es.json+++ b/webui/i18n/es.json@@ -321,6 +321,13 @@"Confirm WaveSpeed Charge Required": "Por favor, confirma el coste de generación de WaveSpeed antes de generar el vídeo.","Video Encoder": "Codificador de vídeo","Default Video Encoder": "Predeterminado (recomendado)",- "Video Encoder Help": "Opción avanzada. Predeterminado sigue la política estable de la aplicación, actualmente libx264. Si un codificador de hardware no está disponible, la aplicación vuelve automáticamente a libx264."+ "Video Encoder Help": "Opción avanzada. Predeterminado sigue la política estable de la aplicación, actualmente libx264. Si un codificador de hardware no está disponible, la aplicación vuelve automáticamente a libx264.",+ "Auto-Publish Settings": "Auto-Publish Settings",+ "Automatically publish generated videos to social media using upload-post.com": "Automatically publish generated videos to social media using upload-post.com",+ "Enable Auto-Publish": "Enable Auto-Publish",+ "Platforms": "Platforms",+ "Upload-Post API Key": "Upload-Post API Key",+ "Upload-Post Profile Username": "Upload-Post Profile Username",+ "YouTube Privacy Status": "YouTube Privacy Status"}}diff --git a/webui/i18n/id.json b/webui/i18n/id.jsonindex 4fa29c24..7217a802 100644--- a/webui/i18n/id.json+++ b/webui/i18n/id.json@@ -321,6 +321,13 @@"Confirm WaveSpeed Charge Required": "Harap konfirmasi biaya pembuatan video WaveSpeed sebelum membuat video.","Video Encoder": "Encoder Video","Default Video Encoder": "Default (Direkomendasikan)",- "Video Encoder Help": "Opsi lanjutan. Default mengikuti kebijakan encoder stabil aplikasi, saat ini libx264. Jika encoder perangkat keras tidak tersedia, aplikasi otomatis kembali ke libx264."+ "Video Encoder Help": "Opsi lanjutan. Default mengikuti kebijakan encoder stabil aplikasi, saat ini libx264. Jika encoder perangkat keras tidak tersedia, aplikasi otomatis kembali ke libx264.",+ "Auto-Publish Settings": "Auto-Publish Settings",+ "Automatically publish generated videos to social media using upload-post.com": "Automatically publish generated videos to social media using upload-post.com",+ "Enable Auto-Publish": "Enable Auto-Publish",+ "Platforms": "Platforms",+ "Upload-Post API Key": "Upload-Post API Key",+ "Upload-Post Profile Username": "Upload-Post Profile Username",+ "YouTube Privacy Status": "YouTube Privacy Status"}}diff --git a/webui/i18n/it.json b/webui/i18n/it.jsonindex a8a2cc88..86e1d713 100644--- a/webui/i18n/it.json+++ b/webui/i18n/it.json@@ -321,6 +321,13 @@"Confirm WaveSpeed Charge Required": "Conferma il costo della generazione video con WaveSpeed prima di generare il video.","Video Encoder": "Codificatore video","Default Video Encoder": "Predefinito (consigliato)",- "Video Encoder Help": "Opzione avanzata. Il valore predefinito segue la politica di codifica stabile dell'applicazione, attualmente libx264. Se un codificatore hardware selezionato non è disponibile, l'applicazione torna automaticamente a libx264."+ "Video Encoder Help": "Opzione avanzata. Il valore predefinito segue la politica di codifica stabile dell'applicazione, attualmente libx264. Se un codificatore hardware selezionato non è disponibile, l'applicazione torna automaticamente a libx264.",+ "Auto-Publish Settings": "Auto-Publish Settings",+ "Automatically publish generated videos to social media using upload-post.com": "Automatically publish generated videos to social media using upload-post.com",+ "Enable Auto-Publish": "Enable Auto-Publish",+ "Platforms": "Platforms",+ "Upload-Post API Key": "Upload-Post API Key",+ "Upload-Post Profile Username": "Upload-Post Profile Username",+ "YouTube Privacy Status": "YouTube Privacy Status"}}diff --git a/webui/i18n/pt.json b/webui/i18n/pt.jsonindex ec853403..74187b83 100644--- a/webui/i18n/pt.json+++ b/webui/i18n/pt.json@@ -321,6 +321,13 @@"Confirm WaveSpeed Charge Required": "Confirme o custo de geração da WaveSpeed antes de gerar o vídeo.","Video Encoder": "Codificador de vídeo","Default Video Encoder": "Padrão (recomendado)",- "Video Encoder Help": "Opção avançada. Padrão segue a política estável do aplicativo, atualmente libx264. Se um codificador de hardware não estiver disponível, o aplicativo retorna automaticamente para libx264."+ "Video Encoder Help": "Opção avançada. Padrão segue a política estável do aplicativo, atualmente libx264. Se um codificador de hardware não estiver disponível, o aplicativo retorna automaticamente para libx264.",+ "Auto-Publish Settings": "Auto-Publish Settings",+ "Automatically publish generated videos to social media using upload-post.com": "Automatically publish generated videos to social media using upload-post.com",+ "Enable Auto-Publish": "Enable Auto-Publish",+ "Platforms": "Platforms",+ "Upload-Post API Key": "Upload-Post API Key",+ "Upload-Post Profile Username": "Upload-Post Profile Username",+ "YouTube Privacy Status": "YouTube Privacy Status"}}diff --git a/webui/i18n/ru.json b/webui/i18n/ru.jsonindex 924a84e8..4e787134 100644--- a/webui/i18n/ru.json+++ b/webui/i18n/ru.json@@ -321,6 +321,13 @@"Custom Position (% from top)": "Пользовательское положение (% от верхнего края)","Please enter a value between 0 and 100": "Введите значение от 0 до 100","Please enter a valid number": "Введите корректное число",- "Please Select a Valid Video Source": "Выберите поддерживаемый источник материалов"+ "Please Select a Valid Video Source": "Выберите поддерживаемый источник материалов",+ "Auto-Publish Settings": "Auto-Publish Settings",+ "Automatically publish generated videos to social media using upload-post.com": "Automatically publish generated videos to social media using upload-post.com",+ "Enable Auto-Publish": "Enable Auto-Publish",+ "Platforms": "Platforms",+ "Upload-Post API Key": "Upload-Post API Key",+ "Upload-Post Profile Username": "Upload-Post Profile Username",+ "YouTube Privacy Status": "YouTube Privacy Status"}}diff --git a/webui/i18n/tr.json b/webui/i18n/tr.jsonindex c1225b8c..ffaeab0d 100644--- a/webui/i18n/tr.json+++ b/webui/i18n/tr.json@@ -321,6 +321,13 @@"Confirm WaveSpeed Charge Required": "Lütfen videoyu oluşturmadan önce WaveSpeed üretim ücretini onaylayın.","Video Encoder": "Video Kodlayıcı","Default Video Encoder": "Varsayılan (Önerilen)",- "Video Encoder Help": "Gelişmiş seçenek. Varsayılan, uygulamanın kararlı kodlayıcı politikasını izler; şu anda libx264 kullanılır. Donanım kodlayıcı kullanılamıyorsa uygulama otomatik olarak libx264'e döner."+ "Video Encoder Help": "Gelişmiş seçenek. Varsayılan, uygulamanın kararlı kodlayıcı politikasını izler; şu anda libx264 kullanılır. Donanım kodlayıcı kullanılamıyorsa uygulama otomatik olarak libx264'e döner.",+ "Auto-Publish Settings": "Auto-Publish Settings",+ "Automatically publish generated videos to social media using upload-post.com": "Automatically publish generated videos to social media using upload-post.com",+ "Enable Auto-Publish": "Enable Auto-Publish",+ "Platforms": "Platforms",+ "Upload-Post API Key": "Upload-Post API Key",+ "Upload-Post Profile Username": "Upload-Post Profile Username",+ "YouTube Privacy Status": "YouTube Privacy Status"}}diff --git a/webui/i18n/vi.json b/webui/i18n/vi.jsonindex 0e50b905..17da102e 100644--- a/webui/i18n/vi.json+++ b/webui/i18n/vi.json@@ -321,6 +321,13 @@"Confirm WaveSpeed Charge Required": "Vui lòng xác nhận chi phí tạo video WaveSpeed trước khi tạo video.","Video Encoder": "Bộ Mã Hóa Video","Default Video Encoder": "Mặc định (Khuyên dùng)",- "Video Encoder Help": "Tùy chọn nâng cao. Mặc định tuân theo chính sách mã hóa ổn định của ứng dụng, hiện là libx264. Nếu bộ mã hóa phần cứng không khả dụng, ứng dụng tự động chuyển về libx264."+ "Video Encoder Help": "Tùy chọn nâng cao. Mặc định tuân theo chính sách mã hóa ổn định của ứng dụng, hiện là libx264. Nếu bộ mã hóa phần cứng không khả dụng, ứng dụng tự động chuyển về libx264.",+ "Auto-Publish Settings": "Auto-Publish Settings",+ "Automatically publish generated videos to social media using upload-post.com": "Automatically publish generated videos to social media using upload-post.com",+ "Enable Auto-Publish": "Enable Auto-Publish",+ "Platforms": "Platforms",+ "Upload-Post API Key": "Upload-Post API Key",+ "Upload-Post Profile Username": "Upload-Post Profile Username",+ "YouTube Privacy Status": "YouTube Privacy Status"}}diff --git a/webui/i18n/zh.json b/webui/i18n/zh.jsonindex be641ea7..633471a3 100644--- a/webui/i18n/zh.json+++ b/webui/i18n/zh.json@@ -386,6 +386,13 @@"Resume LoomLoom Status Check": "继续查询状态","Stop Tracking LoomLoom Run": "停止跟踪","Stop Tracking LoomLoom Run Help": "只停止本地状态查询,不会取消胜算云中可能仍在执行的付费任务。",- "llm_provider_tips.litellm": "##### LiteLLM 配置说明\n- **API Key**: 无需在此处填写;请通过环境变量配置目标 Provider 的密钥\n- **Base Url**: 无需填写\n- **Model Name**: 默认 `{default_model}`;使用 `provider/model` 格式,[查看 Provider 列表](https://docs.litellm.ai/docs/providers)"+ "llm_provider_tips.litellm": "##### LiteLLM 配置说明\n- **API Key**: 无需在此处填写;请通过环境变量配置目标 Provider 的密钥\n- **Base Url**: 无需填写\n- **Model Name**: 默认 `{default_model}`;使用 `provider/model` 格式,[查看 Provider 列表](https://docs.litellm.ai/docs/providers)",+ "Auto-Publish Settings": "自动发布设置",+ "Automatically publish generated videos to social media using upload-post.com": "使用 upload-post.com 自动将生成的视频发布到社交媒体",+ "Enable Auto-Publish": "启用自动发布",+ "Platforms": "发布平台",+ "Upload-Post API Key": "Upload-Post API Key",+ "Upload-Post Profile Username": "Upload-Post 账号名称",+ "YouTube Privacy Status": "YouTube 隐私状态"}}