Skip to content

v1.3.5

Latest

Choose a tag to compare

@harry0703 harry0703 released this 22 Aug 14:29

English | 中文

Highlights

  • Added MiniMax and Fish Audio text-to-speech providers, improved MiniMax regional endpoint and voice selection support, synchronized Gemini voices with the official catalog, and added automatic voice previews in the WebUI.
  • Added Anthropic Claude as a native LLM provider.
  • Added Shengsuan AI and WaveSpeed text-to-video material sources.
  • Added reusable WebUI generation settings and preset import/export, including optional API key backup and restore.
  • Added LLM-generated social captions for every supported cross-post platform, instead of limiting them to YouTube.
  • Added an Italian WebUI translation and a Japanese README.

Security

  • Added optional API key authentication for /api/v1 endpoints and generated task files. Existing installations remain backward compatible while app.api_key is empty.
  • Restricted custom audio inputs to allowed locations to prevent path traversal.
  • Prevented generated task files from being accessed through escaping symlinks.
  • Hardened local material uploads with stricter file and path validation.
  • Sanitized client-supplied request IDs before using them in task processing.

Fixes and Improvements

  • Fixed the last subtitle line being clipped for some text and font combinations, including multiline subtitles and text without descenders.
  • Added an actionable startup error when FFmpeg is unavailable.
  • Fixed Docker dependency installation retries so persistent package failures stop the build instead of being silently ignored.
  • Rolled back task state when background scheduling fails, preventing tasks from remaining stuck in an incorrect state.
  • Improved API response schemas and migrated model configuration to Pydantic v2 ConfigDict.
  • Registered the ping health-check router.
  • Preserved paragraph boundaries in normalized LLM responses.
  • Distinguished the supported Kimi API platforms in configuration and the WebUI.
  • Handled configuration files containing repeated UTF-8 BOM markers.
  • Improved MiniMax voice discovery and validated generated audio before replacing an existing output file.

Upgrade Notes

  • No authentication is required by default. To protect the V1 API and generated task files, set app.api_key in config.toml and send the same value in the x-api-key request header.
  • Settings preset exports can contain provider credentials when API key backup is enabled. Store exported preset files securely and do not commit them to source control.
  • Fish Audio, MiniMax, Anthropic Claude, WaveSpeed, and Shengsuan AI require their respective provider credentials before they can be used.

What's Changed

New Contributors

Full Changelog: v1.3.4...v1.3.5


重点更新

  • 新增 MiniMax 和 Fish Audio 文本转语音服务,完善 MiniMax 区域端点和音色选择支持,同步 Gemini 官方音色目录,并在 WebUI 中增加自动语音试听功能。
  • 新增 Anthropic Claude 原生大语言模型服务商。
  • 新增胜算云(Shengsuan AI)和 WaveSpeed AI 文生视频素材源。
  • WebUI 新增可复用的视频生成设置以及预设导入、导出功能,并支持选择性备份和恢复 API Key。
  • 所有受支持的跨平台发布渠道现在都可以使用大语言模型生成社交媒体文案,不再仅限于 YouTube。
  • 新增意大利语 WebUI 翻译和日语 README 文档。

安全性

  • /api/v1 接口和生成的任务文件增加可选的 API Key 鉴权;当 app.api_key 保持为空时,现有安装和客户端仍可继续使用,无需修改。
  • 限制自定义音频文件只能从允许的目录读取,防止路径穿越。
  • 防止通过符号链接访问任务目录之外的文件。
  • 加强本地素材上传的文件类型、路径和文件名校验。
  • 对客户端传入的请求 ID 进行清理和规范化处理,避免其影响任务文件路径和处理流程。

修复与改进

  • 修复部分文字和字体组合下字幕最后一行被裁切的问题,覆盖多行字幕以及不包含下伸字符的文本。
  • 当系统缺少 FFmpeg 时立即停止启动,并提供清晰、可执行的错误提示。
  • 修复 Docker 依赖安装重试逻辑,确保软件包持续安装失败时终止构建,而不是静默忽略错误。
  • 后台任务调度失败时自动回滚任务状态,避免任务停留在错误状态。
  • 改进 API 响应模型,并将相关 Pydantic 配置迁移到 Pydantic v2 ConfigDict
  • 正确注册 Ping 健康检查接口。
  • 保留大语言模型响应中的段落和换行结构。
  • 在配置和 WebUI 中明确区分不同的 Kimi API 平台。
  • 支持读取包含多个 UTF-8 BOM 标记的配置文件。
  • 改进 MiniMax 音色发现与选择,并在替换已有音频文件前验证新生成的音频是否有效。

升级说明

  • 默认情况下不会启用 API 鉴权,现有用户升级后不受影响。如需保护 V1 API 和生成的任务文件,请在 config.toml 中设置 app.api_key,并在请求中通过 x-api-key 请求头传递相同的值。
  • 开启 API Key 备份后,导出的 WebUI 设置预设可能包含服务商凭据。请妥善保存导出文件,不要将其提交到公开代码仓库。
  • Fish Audio、MiniMax、Anthropic Claude、WaveSpeed 和胜算云功能需要配置对应服务商的凭据后才能使用。

主要变更

新贡献者

感谢 @HaningZS@AZEROSTART@jxnding@eltociear@NafeesMadni@SandroHub013@rignaneseleo@chengzeyi@Gainto@alvinhui@lihuiyang1024@hariom-hp 首次参与 MoneyPrinterTurbo 项目贡献。

完整变更记录v1.3.4...v1.3.5