利用 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(tts): update voice semantics and neutralize time-sensitive provider wording
Hariom paswan13ddb02a021f
diff --git a/app/services/voice.py b/app/services/voice.pyindex f1208afc..1b6ce9b4 100644--- a/app/services/voice.py+++ b/app/services/voice.py@@ -1888,8 +1888,8 @@ def fish_audio_tts(if response.status_code == 402:logger.error("Fish Audio TTS failed: Insufficient API credit (402). "- "Please use model 's2.1-pro-free' or add funds at "- "https://fish.audio/app/developers"+ "Please check your account balance at "+ "https://fish.audio/app/developers or verify your model and billing tier.")return Noneif response.status_code == 429:diff --git a/config.example.toml b/config.example.tomlindex b19387fc..2848c9ef 100644--- a/config.example.toml+++ b/config.example.toml@@ -401,12 +401,13 @@ voices = ["default-Female"]# API key: https://fish.audio/app/developers# You can also set the FISH_API_KEY environment variable.api_key = ""-# Available models: "s2.1-pro-free" (free developer tier), "s2.1-pro", "s2-pro"+# Available models: "s2.1-pro-free", "s2.1-pro", "s2-pro"model = "s2.1-pro-free"# ── Voice selection ──────────────────────────────────────────────────────────-# By default Fish Audio uses its built-in default voice. To use a specific-# public or cloned voice, add entries below. Each entry is either:+# Built-in presets for clear female, male, and neutral default voices are+# available out of the box. To use additional public or cloned voices, add+# entries below. Each entry is either:# "<reference_id>:<display_name>" – a Fish Audio voice model ID with label# "<reference_id>" – bare ID (used as both ID and label)#@@ -414,11 +415,11 @@ model = "s2.1-pro-free"# Example: voices = ["7f92f8afb8ec43bf81429cc1c9199cb1:Friendly Narrator"]voices = []-# ── Free tier notice ─────────────────────────────────────────────────────────-# The "s2.1-pro-free" model is free for developers but is subject to Fish-# Audio's Fair Use Policy. There is no SLA, and usage may be rate-limited.-# Check https://fish.audio/pricing for current terms on commercial use and-# data retention before using in production.+# ── Model & Pricing Notice ───────────────────────────────────────────────────+# The "s2.1-pro-free" model is provided under Fish Audio's developer terms and+# is subject to Fair Use Policy, rate limits, and time-limited promotional+# windows (e.g. through August 2026). There is no SLA. Please check+# https://fish.audio/pricing for current availability and commercial terms.# =============================================================================# WebUI Preferences / WebUI 偏好diff --git a/webui/Main.py b/webui/Main.pyindex 4e56db10..2eaaba74 100644--- a/webui/Main.py+++ b/webui/Main.py@@ -4776,7 +4776,7 @@ def _render_audio_settings(panel, params):("minimax-tts", "MiniMax TTS"),("elevenlabs", "ElevenLabs TTS"),("chatterbox", "Chatterbox TTS"),- ("fish_audio", "Fish Audio TTS (Free Developer)"),+ ("fish_audio", "Fish Audio TTS"),]tts_server_values = [server_value for server_value, _ in tts_servers]diff --git a/webui/i18n/en.json b/webui/i18n/en.jsonindex ecd77669..da9bbefc 100644--- a/webui/i18n/en.json+++ b/webui/i18n/en.json@@ -263,7 +263,7 @@"tts_provider_tips.minimax-tts": "Use a MiniMax TTS API key from the [China platform](https://platform.minimaxi.com/user-center/basic-information/interface-key) or [global platform](https://platform.minimax.io/user-center/basic-information/interface-key). The key and endpoint must belong to the same platform. If left empty, the MiniMax LLM key and its matching endpoint are reused.","tts_provider_tips.elevenlabs": "Requires an [API key](https://elevenlabs.io/app/settings/api-keys). Add voices to your favorites in the [Voice Library](https://elevenlabs.io/app/voice-library) first.","tts_provider_tips.chatterbox": "Self-hosted. Run a compatible [Chatterbox TTS API](https://github.com/travisvn/chatterbox-tts-api), then enter a Base URL ending in `/v1`; the API key is usually optional.",- "tts_provider_tips.fish_audio": "Requires a Fish Audio API key from the [developer portal](https://fish.audio/app/developers). Free developer model `s2.1-pro-free` is included. [Browse public voices](https://fish.audio) or configure custom voices in `config.toml`.",+ "tts_provider_tips.fish_audio": "Requires a Fish Audio API key from the [developer portal](https://fish.audio/app/developers). [Browse public voices](https://fish.audio) or configure custom voices in `config.toml`. See [pricing & terms](https://fish.audio/pricing).","Hide Log": "Hide Log","Hide Basic Settings": "Hide Basic Settings\n\nHidden, the basic settings panel will not be displayed on the page.\n\nIf you need to display it again, please set `hide_config = false` in `config.toml`","LLM Settings": "**LLM Settings**",diff --git a/webui/i18n/zh.json b/webui/i18n/zh.jsonindex 7683f660..be641ea7 100644--- a/webui/i18n/zh.json+++ b/webui/i18n/zh.json@@ -263,7 +263,7 @@"tts_provider_tips.minimax-tts": "使用 [MiniMax 中国站](https://platform.minimaxi.com/user-center/basic-information/interface-key)或[国际站](https://platform.minimax.io/user-center/basic-information/interface-key)的 TTS API Key,Key 与服务地址必须属于同一站点。留空时会复用 MiniMax 大模型 Key,并自动匹配对应站点。","tts_provider_tips.elevenlabs": "需要 [API Key](https://elevenlabs.io/app/settings/api-keys);请先在 [Voice Library](https://elevenlabs.io/app/voice-library) 将音色加入收藏。","tts_provider_tips.chatterbox": "自托管服务。运行兼容的 [Chatterbox TTS API](https://github.com/travisvn/chatterbox-tts-api),并填写以 `/v1` 结尾的 Base URL;API Key 通常可选。",- "tts_provider_tips.fish_audio": "需要 Fish Audio API Key,可在[开发者控制台](https://fish.audio/app/developers)获取;包含免费的 `s2.1-pro-free` 开发者模型;可在 [Fish Audio](https://fish.audio) 浏览更多音色或在 `config.toml` 中配置自定义音色。",+ "tts_provider_tips.fish_audio": "需要 Fish Audio API Key,可在[开发者控制台](https://fish.audio/app/developers)获取;可在 [Fish Audio](https://fish.audio) 浏览更多音色或在 `config.toml` 中配置自定义音色;查看[价格与条款](https://fish.audio/pricing)。","Hide Log": "隐藏日志","Hide Basic Settings": "隐藏基础设置\n\n隐藏后,基础设置面板将不会显示在页面中。\n\n如需要再次显示,请在 `config.toml` 中设置 `hide_config = false`","LLM Settings": "**大模型设置**",