利用 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(release): prepare 1.3.6 release
harry0703cbbb36639310
diff --git a/README-en.md b/README-en.mdindex 8b06c18b..bc51e9d2 100644--- a/README-en.md+++ b/README-en.md@@ -48,7 +48,7 @@ Thanks to [Kimi](https://platform.kimi.ai?track_id=track-f6b0a640d35c41deb03b247<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"><strong>BytePlus ModelArk</strong></a></td><td align="left">- Thanks to ByteDance VolcEngine for sponsoring this project! VolcEngine Ark's Agent/Coding Plan for leading Chinese models starts at CNY 9.9 for first-time buyers and supports GLM-5.3, Kimi-K3, DeepSeek, MiniMax, Doubao, and more. New users receive 25 million free tokens. One unified API is designed for coding and agent development. --> <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">Visit now</a>+ Thanks to ByteDance VolcEngine for sponsoring this project! VolcEngine Ark's Agent/Coding Plan for leading Chinese models starts at CNY 9.9 for first-time buyers and supports GLM-5.3, Kimi-K3, DeepSeek, MiniMax, Doubao, and more. New users receive 25 million free tokens. One unified API is designed for coding and agent development. <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">Visit now</a></td></tr><tr>@@ -89,7 +89,18 @@ Thanks to [Kimi](https://platform.kimi.ai?track_id=track-f6b0a640d35c41deb03b247⚡ Low-cost, reliable access: pricing starts at just 10% of official rates, with transparent model multipliers and detailed usage records. Dynamic routing across multiple providers helps avoid rate limits and unexpected service interruptions.<br>🧠 Leading LLMs for script creation: access OpenAI, Claude, Google Gemini, DeepSeek, Qwen, and other leading models through an OpenAI-compatible API. Infistar.ai provides low-latency, high-concurrency support for MoneyPrinterTurbo's script generation and media keyword extraction workflows.<br>🎨 A cutting-edge multimodal ecosystem: access leading image and video generation models including FLUX, Midjourney, Seedance, Kling, Sora, and Luma, all ready for the next generation of AI video creation.<br>- 🎁 Exclusive benefits for MoneyPrinterTurbo users: sign up through the <a href="https://infistar.cc/register?aff=6T4EYXP2&ref_source=link">dedicated referral link</a> to receive [exclusive bonus credits / a first top-up offer] and start creating right away!+ 🎁 MoneyPrinterTurbo users can sign up through the <a href="https://infistar.cc/register?aff=6T4EYXP2&ref_source=link">dedicated referral link</a> and view the latest exclusive offers available from Infistar.ai.+ </td>+ </tr>+ <tr>+ <td align="center" width="120">+ <a href="https://www.shengsuanyun.com/?from=CH_XUQ4OTSK"><img src="docs/sponsors/shengsuanyun-logo.jpg" alt="Shengsuan Cloud" height="56"></a><br>+ <a href="https://www.shengsuanyun.com/?from=CH_XUQ4OTSK"><strong>Shengsuan Cloud</strong></a>+ </td>+ <td align="left">+ Thanks to <a href="https://www.shengsuanyun.com/?from=CH_XUQ4OTSK">Shengsuan Cloud</a> for sponsoring this project! Shengsuan Cloud is an API aggregation platform for AI-native teams, providing unified, usage-based access to leading language and multimodal models including Claude, ChatGPT, and Gemini.<br>+ The platform focuses on compliant API services and also offers enterprise gateways with team cost and permission management, intelligent routing, security controls, BYOK credential management, and invoice support.<br>+ 🎁 New users who register through <a href="https://www.shengsuanyun.com/?from=CH_XUQ4OTSK">this link</a> can receive CNY 10 in trial credits.</td></tr><tr>@@ -151,16 +162,19 @@ Thanks to [Kimi](https://platform.kimi.ai?track_id=track-f6b0a640d35c41deb03b247### Video and Image Footage-- [x] Upload your own **local images and videos**, or use free-to-use HD stock footage from [Pexels](https://www.pexels.com/api/), [Pixabay](https://pixabay.com/api/docs/), and [Coverr](https://coverr.co/developers?ctx=header_navigation)-- [x] Generate original footage with [WaveSpeed AI](https://wavespeed.ai) text-to-video models or the native [Volcano Engine Ark Seedance](https://console.volcengine.com/ark/region:ark+cn-beijing/apikey) integration-- [x] Generate video with [OFox](https://ofox.ai) multi-model routing, using one API key for Seedance, Wan, and other models with charge confirmation and bounded polling-- [x] Generate video with [Metaso MiniMax H3](https://metaso.cn/minimax-h3/?s=MPT), including `768P`/`2K` source material, 4–15 second clips, three aspect ratios, charge confirmation, and bounded polling-- [x] Use [Shengsuan Cloud AI Video](https://www.shengsuanyun.com/?from=CH_XUQ4OTSK) and [OpenAI-compatible text-to-image](https://platform.openai.com/docs/guides/image-generation) sources for aggregated cloud services or custom image gateways-- [x] Control clip duration, fitting, and material order; paid providers submit clips only as needed and stop once enough footage has been collected+- [x] Upload your own **local images and videos**, or get HD stock footage from [Pexels (free)](https://www.pexels.com/api/), [Pixabay (free)](https://pixabay.com/api/docs/), and [Coverr](https://coverr.co/developers?ctx=header_navigation)+- [x] Generate `768P` or `2K` source footage with [Metaso MiniMax H3](https://metaso.cn/minimax-h3/?s=MPT), with 4–15 second clips in `9:16`, `16:9`, or `1:1`+- [x] Create multiple AI video clips with [Shengsuan Cloud AI Video](https://www.shengsuanyun.com/?from=CH_XUQ4OTSK), then combine them with the project's voiceover, subtitle, and editing workflow+- [x] Use the native [Volcano Engine Ark Seedance](https://console.volcengine.com/ark/region:ark+cn-beijing/apikey) integration to generate cohesive visuals from individual script segments+- [x] Turn script keywords into original video footage with [WaveSpeed AI](https://wavespeed.ai)+- [x] Access Seedance, Wan, and other text-to-video models through [OFox](https://ofox.ai) with a single API key+- [x] Connect [OpenAI-compatible text-to-image](https://platform.openai.com/docs/guides/image-generation) services or custom image gateways and turn generated images into animated video clips+- [x] Adjust clip duration, frame fitting, and material order to suit different aspect ratios and storytelling styles-### Voiceover, Subtitles, and Music+### Voiceover, Subtitles, and Background Music-- [x] Choose automatic voiceover, uploaded audio, or no voiceover; integrations include **Edge TTS, Azure Speech, SiliconFlow, Google Gemini, Xiaomi MiMo, MiniMax, ElevenLabs, Chatterbox, and Fish Audio**, with real-time previews+- [x] Choose automatic voiceover, uploaded audio, or no voiceover, with voice samples and full narration previews+- [x] Use **Edge TTS (free, no API key required)**, Azure Speech, SiliconFlow, Google Gemini, Xiaomi MiMo, MiniMax, ElevenLabs, Chatterbox, Fish Audio, and other voice services- [x] Generate subtitles and configure their font, position, color, size, outline, and background style- [x] Use random, local, or AI-generated background music with independent volume control@@ -250,7 +264,7 @@ Want to try MoneyPrinterTurbo without setting up a local environment? Run it dirDownload the latest Windows one-click package from GitHub Releases, then extract it directly.-- GitHub Release: https://github.com/harry0703/MoneyPrinterTurbo/releases/latest+- [Download the latest Windows one-click package](https://github.com/harry0703/MoneyPrinterTurbo/releases/latest)After downloading, it is recommended to **double-click** `update.bat` first to update to the **latest code**, then double-click `start.bat` to launch@@ -273,19 +287,19 @@ Use the local setup or Docker instructions below.git clone https://github.com/harry0703/MoneyPrinterTurbo.git```-#### ② Configure the Project (Optional)+#### ② Complete the Initial Setup-On first launch, the project creates `config.toml` from `config.example.toml`. You can configure the LLM provider, footage source, and related API keys directly in the WebUI basic settings.+On first launch, the project creates `config.toml` from `config.example.toml`, so you do not need to create the file manually. Before using cloud LLMs, online footage, or AI video services, add the corresponding API keys in the WebUI basic settings.### Docker Deployment 🐳#### ① Launch the Docker Container-If you haven't installed Docker, please install it first https://www.docker.com/products/docker-desktop/+If Docker is not installed, [download and install Docker Desktop](https://www.docker.com/products/docker-desktop/) first.If you are using a Windows system, please refer to Microsoft's documentation:-1. https://learn.microsoft.com/en-us/windows/wsl/install-2. https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers+1. [Install WSL](https://learn.microsoft.com/en-us/windows/wsl/install)+2. [Use Docker containers with WSL](https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers)```shellcd MoneyPrinterTurbo@@ -418,13 +432,15 @@ individual runtime failure, and the command prints one JSON summary when finisheThe summary contains `total`, `succeeded`, `failed`, and `tasks`; each task entry has`index`, `task_id`, `status`, `result`, `failed_stage`, and `error`.-## Voice Synthesis 🗣+## Voiceover, Subtitles, and Background Music 🎙️++### Voice Synthesis-The default provider is the free **Edge TTS**, shown as **Azure TTS V1** in the WebUI. MoneyPrinterTurbo also supports **Azure TTS V2**, **SiliconFlow TTS**, **Google Gemini TTS**, **Xiaomi MiMo TTS**, **ElevenLabs TTS**, self-hosted **Chatterbox TTS**, **Fish Audio TTS**, and a no-voice mode.+**Azure TTS V1** in the WebUI is powered by **Edge TTS** and is free to use without an API key. MoneyPrinterTurbo also supports **Azure TTS V2**, **SiliconFlow TTS**, **Google Gemini TTS**, **Xiaomi MiMo TTS**, **ElevenLabs TTS**, self-hosted **Chatterbox TTS**, **Fish Audio TTS**, and a no-voice mode.Select a provider and voice in the WebUI, then follow the on-screen instructions for any required credentials. Edge TTS does not require an API key; [Azure TTS V2](https://portal.azure.com/) and other cloud providers require credentials from their respective platforms. See the available Edge TTS voices in the [voice list](./docs/voice-list.txt).-## Subtitle Generation 📜+### Subtitle GenerationTwo subtitle generation modes are available:@@ -456,102 +472,20 @@ MoneyPrinterTurbo│ vocabulary.json```-## Background Music 🎵+### Background MusicBackground music for videos is located in the project's `resource/songs` directory.> The current project includes some default music from YouTube videos. If there are copyright issues, please delete> them.-## Subtitle Fonts 🅰+### Subtitle FontsFonts for rendering video subtitles are located in the project's `resource/fonts` directory, and you can also add yourown fonts.## Common Questions 🤔-<details>-<summary>How do I publish to TikTok, Instagram, or YouTube Shorts?</summary>--Create an [Upload-Post](https://upload-post.com/) account and API key, then add the following settings under `[app]` in `config.toml`:--```toml-[app]-upload_post_enabled = true-upload_post_api_key = "your-api-key"-upload_post_username = "your-username"-upload_post_platforms = ["tiktok", "instagram", "youtube"]-upload_post_auto_upload = true-upload_post_youtube_privacy_status = "public"-```--Restart the app after saving. Generated videos will then be published automatically to the configured platforms. YouTube privacy can be set to `public`, `unlisted`, or `private`.--</details>--<details>-<summary>How do I use the official Volcano Engine Ark Seedance provider?</summary>--Create an [Ark API key](https://console.volcengine.com/ark/region:ark+cn-beijing/apikey), then configure the provider under `[app]`:--```toml-[app]-volcengine_seedance_api_key = "your-ark-api-key"-volcengine_seedance_model = "doubao-seedance-1-0-pro-250528"-volcengine_seedance_base_url = "https://ark.cn-beijing.volces.com/api/v3"-```--When the dedicated config value is empty, `VOLCENGINE_ARK_API_KEY` is used, followed by the existing `volcengine_api_key` LLM setting. Select **Volcano Engine Seedance** as the video source and explicitly confirm paid generation before starting. CLI users must add `--confirm-seedance-charge`.--The first integration supports text-to-video only. Every submitted clip is a paid asynchronous Ark task; the app polls the same task ID, stops submitting after an unknown state, and downloads only enough clips to cover the voiceover.--</details>--<details>-<summary>How do I use the OFox multi-model text-to-video provider?</summary>--Create an [OFox API key](https://ofox.ai), then configure under `[app]`:--```toml-[app]-ofox_api_key = "your-ofox-api-key"-ofox_text_to_video_model = "bytedance/seedance-2.0-fast"-ofox_base_url = "https://api.ofox.ai/v1"-```--When the dedicated config value is empty, the `OFOX_API_KEY` environment variable is used. Select **OFox AI Video** as the video source and explicitly confirm paid generation before starting. CLI users must add `--confirm-ofox-charge`. The upstream vendor defaults to `"byteplus"` (the international vendor, for a consistent content policy and predictable routing); set `ofox_provider` to `"volcengine"` for the mainland-China vendor, or to an empty string `""` to let OFox load-balance across vendors. The model can be any text-to-video model from the OFox catalog (`GET /v1/models`), e.g. `alibaba/wan-2.7`; each model has its own supported duration range and resolutions, and out-of-range values are rejected by the API with a clear error before any task is created.--The first version supports text-to-video only. Each clip creates one asynchronous paid task; the program only polls the same task id, stops submitting new tasks whenever a paid task state is unknown, and generates just enough footage to cover the voiceover duration.--</details>--<details>-<summary>How do I use the Metaso MiniMax H3 video provider?</summary>--Register through the [MoneyPrinterTurbo referral link](https://metaso.cn/minimax-h3/?s=MPT),-obtain an independent API key from Metaso, then configure it under `[app]`:--```toml-[app]-metaso_minimax_api_key = "your-metaso-api-key"-metaso_minimax_base_url = "https://metaso.cn/api/minimax"-metaso_minimax_resolution = "2K"-```--The key can also be supplied through `METASO_MINIMAX_API_KEY`. It belongs to a-different credential system from the MiniMax LLM API key and cannot be shared.-Select **Metaso · MiniMax H3** and confirm the paid-generation notice. CLI users-must also pass `--confirm-metaso-minimax-charge`.--The current integration supports text-to-video with 4–15 second clips at `768P`-or `2K`. The app submits clips one at a time, polls only the returned task ID,-stops after an unknown remote state, and stops generating as soon as the clips-cover the voiceover duration. This resolution controls the generated source-material; MPT still exports on its current fixed canvas (for example,-1920×1080 for 16:9).--</details>-<details><summary>RuntimeError: No ffmpeg exe could be found</summary>@@ -563,8 +497,8 @@ RuntimeError: No ffmpeg exe could be found.Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.```-In this case, you can download ffmpeg from https://www.gyan.dev/ffmpeg/builds/, unzip it, and set `ffmpeg_path` to your-actual installation path.+In this case, download FFmpeg from [gyan.dev](https://www.gyan.dev/ffmpeg/builds/), extract it, and set `ffmpeg_path` to+the actual installation path.```toml[app]@@ -611,7 +545,7 @@ specified revision on the local disk. Please check your internet connection andTrying to load the model directly from the local cache, if it exists.```-Solution: [See how to download the model manually from Hugging Face](#subtitle-generation-)+Solution: [See how to download the model manually from Hugging Face](#subtitle-generation)</details>@@ -622,13 +556,3 @@ Solution: [See how to download the model manually from Hugging Face](#subtitle-g## License 📝Click to view the [`LICENSE`](LICENSE) file--## Star History--<a href="https://www.star-history.com/?repos=harry0703%2FMoneyPrinterTurbo&type=date&legend=top-left">- <picture>- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&theme=dark&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />- <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />- </picture>-</a>diff --git a/README-ja.md b/README-ja.mdindex b2083fdd..ea8a75f4 100644--- a/README-ja.md+++ b/README-ja.md@@ -68,6 +68,17 @@本プロジェクトをスポンサードしてくださっている <a href="https://go.apimart.ai/gh-moneyprinterturbo">APIMart</a> に感謝します! APIMart は、AI 画像・動画生成に特化した低価格 API プラットフォームです。<strong>GPT-Image-2 は 1 枚あたり 0.006 米ドルから利用でき、1 米ドルで 160 枚以上の画像を生成できます</strong>。<strong>画像と動画を 1 つの非同期 API で扱い、コードを変更せずにモデルを切り替えられます</strong>。タスクを送信して ID を受け取った後、ポーリングまたはコールバックで結果を取得でき、数万枚規模のバッチ処理にも対応します。月額料金のない従量課金制で、<a href="https://go.apimart.ai/gh-moneyprinterturbo">こちらの登録リンク</a>からすぐに利用を開始できます。</td></tr>+ <tr>+ <td align="center" width="120">+ <a href="https://metaso.cn/minimax-h3/?s=MPT"><img src="docs/sponsors/metaso-logo.png" alt="Metaso" width="100"></a><br>+ <a href="https://metaso.cn/minimax-h3/?s=MPT"><strong>Metaso</strong></a>+ </td>+ <td align="left">+ <strong>Metaso の MiniMax H3 動画生成 API</strong><br>+ Metaso は、コストパフォーマンスに優れた MiniMax H3 動画生成サービスを提供しています。料金は <strong>768P が 1 秒あたり 0.09 元、2K が 1 秒あたり 0.15 元</strong>です。ネイティブ 2K、映像と音声の同期、OpenAI 互換 API、ComfyUI に対応しており、GPU を自分で用意・運用する必要はありません。<br>+ 🎁 <a href="https://metaso.cn/minimax-h3/?s=MPT">MoneyPrinterTurbo 専用リンク</a>から登録すると、ボーナスクレジットや限定特典を受け取れます。+ </td>+ </tr><tr><td align="center" width="120"><a href="https://infistar.cc/register?aff=6T4EYXP2&ref_source=link"><img src="docs/sponsors/infistar-logo.svg" alt="Infistar.ai" height="56"></a><br>@@ -78,7 +89,18 @@⚡ 低コストで信頼性の高いアクセス: 価格は公式レートのわずか 10% から。モデル倍率は透明で、詳細な利用履歴も確認できます。複数プロバイダーへの動的ルーティングにより、レート制限や予期しないサービス中断を回避できます。<br>🧠 台本作成に最適な最先端 LLM: OpenAI、Claude、Google Gemini、DeepSeek、Qwen などの主要モデルを OpenAI 互換 API 経由で利用できます。Infistar.ai は MoneyPrinterTurbo の台本生成と素材キーワード抽出のワークフローに、低レイテンシかつ高並列なサポートを提供します。<br>🎨 最先端のマルチモーダルエコシステム: FLUX、Midjourney、Seedance、Kling、Sora、Luma といった主要な画像・動画生成モデルを利用でき、次世代の AI 動画制作にすぐ活用できます。<br>- 🎁 MoneyPrinterTurbo ユーザー限定特典: <a href="https://infistar.cc/register?aff=6T4EYXP2&ref_source=link">専用の紹介リンク</a>から登録すると、[限定ボーナスクレジット / 初回チャージ特典] を受け取ってすぐに制作を始められます!+ 🎁 MoneyPrinterTurbo ユーザーは、<a href="https://infistar.cc/register?aff=6T4EYXP2&ref_source=link">専用の紹介リンク</a>から登録し、Infistar.ai が現在提供している限定特典を確認できます。+ </td>+ </tr>+ <tr>+ <td align="center" width="120">+ <a href="https://www.shengsuanyun.com/?from=CH_XUQ4OTSK"><img src="docs/sponsors/shengsuanyun-logo.jpg" alt="Shengsuan Cloud" height="56"></a><br>+ <a href="https://www.shengsuanyun.com/?from=CH_XUQ4OTSK"><strong>Shengsuan Cloud</strong></a>+ </td>+ <td align="left">+ 本プロジェクトをスポンサードしてくださっている <a href="https://www.shengsuanyun.com/?from=CH_XUQ4OTSK">Shengsuan Cloud</a> に感謝します! Shengsuan Cloud は AI ネイティブなチーム向けの API 集約プラットフォームで、Claude、ChatGPT、Gemini などの主要な言語モデルやマルチモーダルモデルを、統一 API と従量課金で利用できます。<br>+ コンプライアンスに配慮した API サービスに加え、チームのコスト・権限管理、インテリジェントルーティング、セキュリティ対策、BYOK による認証情報管理、請求書発行に対応するエンタープライズゲートウェイも提供しています。<br>+ 🎁 <a href="https://www.shengsuanyun.com/?from=CH_XUQ4OTSK">こちらのリンク</a>から新規登録すると、10 元分のトライアルクレジットを受け取れます。</td></tr><tr>@@ -126,23 +148,40 @@## 機能 🎯-- [x] **AI エージェント**、**WebUI**、**API**、**CLI** の各ワークフローを提供。コードはコントローラー、サービス、モデルの責務ごとに整理されています-- [x] **AI による動画台本の生成**とカスタム台本に対応-- [x] さまざまな**高画質動画**サイズに対応- - [x] 縦型 9:16、`1080x1920`- - [x] 横型 16:9、`1920x1080`-- [x] **動画の一括生成**に対応。一度に複数の動画を作成し、最も満足のいくものを選べます-- [x] **動画クリップの長さ**の設定に対応。素材の切り替え頻度を調整しやすくなります-- [x] **多言語の動画台本**生成に対応-- [x] **Edge TTS**、**Azure Speech**、**SiliconFlow**、**Google Gemini**、**Xiaomi MiMo**、**ElevenLabs**、**Chatterbox**、**Fish Audio** による音声合成とリアルタイムプレビューに対応-- [x] **字幕生成**に対応。フォント、位置、色、サイズ、縁取り、背景スタイルを設定できます-- [x] ランダムまたはカスタムの **BGM** に対応し、音量も調整できます-- [x] 手持ちの**ローカル素材**に加え、**Pexels**、**Pixabay**、**Coverr** の無料で使える高画質素材に対応-- [x] ネイティブの **Volcano Engine Ark Seedance** テキスト動画生成に対応し、モデル/Endpoint ID、制限付きポーリング、有料タスク確認を設定できます-- [x] ネイティブの **OFox** マルチモデルテキスト動画生成に対応(1 つの API キーで Seedance や Wan などを利用可能)。制限付きポーリングと有料タスク確認も同様に提供します-- [x] **Kimi / Moonshot AI**、**OpenAI**、**Google Gemini**、**DeepSeek**、**Alibaba Cloud Qwen**、**Microsoft Azure OpenAI**、**ByteDance VolcEngine Ark**、**xAI Grok**、**MiniMax**、**Xiaomi MiMo** といった主要なモデルプロバイダーに加え、**Cloudflare AI Gateway**、**Alibaba ModelScope**、**AIHubMix**、**AIML API**、**EvoLink**、**Ollama**、**OneAPI**、**LiteLLM**、**Groq**、**Pollinations AI** などの統合ゲートウェイ、アグリゲーター、ローカルランタイムに対応-- [x] 動画生成後、**TikTok**、**Instagram**、**YouTube Shorts** へワンクリックで**クロスプラットフォーム投稿**が可能-- [x] 生成設定をプリセットファイルとして**エクスポート/インポート**でき、設定画面から **API キー**のバックアップと復元も可能+### 制作フロー++- [x] **AI エージェント、WebUI、API、CLI** の 4 つの利用方法を提供し、手軽な動画制作から自動化ワークフローへの組み込みまで対応+- [x] テーマから台本、ナレーション、素材、字幕、BGM、編集までを自動化し、各工程で独自コンテンツを使用することも可能+- [x] **複数動画の一括生成**、タスク履歴、生成設定と API キーのインポート・エクスポート・復元に対応++### 台本とモデルプロバイダー++- [x] AI による**多言語動画台本**の生成・リライトに加え、独自台本の利用にも対応+- [x] [Kimi / Moonshot AI](https://platform.kimi.ai?track_id=track-f6b0a640d35c41deb03b247242a1058c&aff=moneyprinterturbo)、[OpenAI](https://platform.openai.com/api-keys)、[Anthropic Claude](https://platform.claude.com/settings/keys)、[Google Gemini](https://aistudio.google.com/app/apikey)、[DeepSeek](https://platform.deepseek.com/api_keys)、[Alibaba Cloud Qwen](https://qwen.ai/apiplatform)、[Microsoft Azure OpenAI](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/OpenAI)、[ByteDance VolcEngine Ark](https://console.volcengine.com/ark)、[xAI Grok](https://console.x.ai/)、[MiniMax](https://platform.minimax.io/)、[Xiaomi MiMo](https://platform.xiaomimimo.com/docs/zh-CN/quick-start/first-api-call) などの主要なモデルサービスに対応+- [x] [Shengsuan Cloud](https://www.shengsuanyun.com/?from=CH_XUQ4OTSK)、[APIMart](https://go.apimart.ai/gh-moneyprinterturbo)、[Cloudflare AI Gateway](https://dash.cloudflare.com/)、[Alibaba ModelScope](https://modelscope.cn/docs/model-service/API-Inference/intro)、[AIHubMix](https://aihubmix.com/)、[AIML API](https://aimlapi.com/app/keys)、[EvoLink](https://evolink.ai/dashboard/keys)、[OpenRouter](https://openrouter.ai/settings/keys)、[Ollama](https://ollama.com/)、[OneAPI](https://github.com/songquanpeng/one-api)、[LiteLLM](https://docs.litellm.ai/docs/providers)、[Groq](https://console.groq.com/keys)、[Pollinations AI](https://enter.pollinations.ai/) などの統合ゲートウェイ、集約サービス、ローカルランタイムに対応++### 動画・画像素材++- [x] 手持ちの**ローカル画像・動画**をアップロードできるほか、[Pexels(無料)](https://www.pexels.com/api/)、[Pixabay(無料)](https://pixabay.com/api/docs/)、[Coverr](https://coverr.co/developers?ctx=header_navigation) の高画質ストック素材を利用可能+- [x] [Metaso MiniMax H3](https://metaso.cn/minimax-h3/?s=MPT) によるテキスト動画生成に対応し、`768P`/`2K`、4~15 秒の素材を `9:16`、`16:9`、`1:1` の 3 種類のアスペクト比で生成可能+- [x] [Shengsuan Cloud AI Video](https://www.shengsuanyun.com/?from=CH_XUQ4OTSK) で複数の AI 動画素材を生成し、プロジェクトのナレーション、字幕、編集フローで 1 本の動画に合成可能+- [x] [Volcano Engine Ark Seedance](https://console.volcengine.com/ark/region:ark+cn-beijing/apikey) をネイティブに統合し、台本の各セグメントから一貫した動画素材を生成可能+- [x] [WaveSpeed AI](https://wavespeed.ai) によるテキスト動画生成で、台本のキーワードからオリジナル素材を作成可能+- [x] [OFox](https://ofox.ai) のマルチモデルテキスト動画生成に対応し、1 つの API キーで Seedance、Wan などのモデルを利用可能+- [x] [OpenAI 互換の画像生成](https://platform.openai.com/docs/guides/image-generation)サービスや独自の画像ゲートウェイを接続し、生成画像を動きのある動画クリップに変換可能+- [x] クリップの長さ、フレームへの合わせ方、素材の使用順を調整し、アスペクト比や構成に合わせた編集が可能++### ナレーション・字幕・BGM++- [x] 自動ナレーション、音声ファイルのアップロード、音声なしの 3 つの方式に対応し、音声サンプルとナレーション全体をプレビュー可能+- [x] **Edge TTS(無料・API キー不要)**、Azure Speech、SiliconFlow、Google Gemini、Xiaomi MiMo、MiniMax、ElevenLabs、Chatterbox、Fish Audio などの音声サービスに対応+- [x] 字幕を自動生成し、フォント、位置、色、サイズ、縁取り、背景スタイルを調整可能+- [x] ランダム、ローカル、AI 生成の BGM に対応し、音量を個別に調整可能++### 出力と公開++- [x] 縦型 `9:16(1080×1920)`、横型 `16:9(1920×1080)`、正方形 `1:1(1080×1080)` に対応+- [x] 動画生成後、**TikTok、Instagram、YouTube Shorts** へワンクリックで自動公開可能## ギャラリー 🎬@@ -225,7 +264,7 @@ Create a video with the topic "How AI is changing everyday life."GitHub Releases から最新の Windows 用ワンクリックパッケージをダウンロードし、そのまま展開してください。-- GitHub Release: https://github.com/harry0703/MoneyPrinterTurbo/releases/latest+- [最新の Windows 用ワンクリックパッケージをダウンロード](https://github.com/harry0703/MoneyPrinterTurbo/releases/latest)ダウンロード後は、まず `update.bat` を**ダブルクリック**して**最新のコード**に更新し、その後 `start.bat` をダブルクリックして起動することを推奨します@@ -248,19 +287,19 @@ GitHub Releases から最新の Windows 用ワンクリックパッケージをgit clone https://github.com/harry0703/MoneyPrinterTurbo.git```-#### ② プロジェクトを設定する(任意)+#### ② 初期設定を行う-初回起動時に、`config.example.toml` から `config.toml` が作成されます。LLM プロバイダー、素材ソース、関連する API キーは WebUI の基本設定から直接設定できます。+初回起動時に `config.example.toml` から `config.toml` が自動作成されるため、設定ファイルを手動で作成する必要はありません。クラウド LLM、オンライン素材、AI 動画などのサービスを利用する前に、WebUI の基本設定で対応する API キーを入力してください。### Docker でデプロイ 🐳#### ① Docker コンテナを起動する-Docker をまだインストールしていない場合は、先にインストールしてください https://www.docker.com/products/docker-desktop/+Docker が未インストールの場合は、先に [Docker Desktop をダウンロードしてインストール](https://www.docker.com/products/docker-desktop/)してください。Windows をお使いの場合は、Microsoft のドキュメントを参照してください:-1. https://learn.microsoft.com/en-us/windows/wsl/install-2. https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers+1. [WSL をインストールする](https://learn.microsoft.com/en-us/windows/wsl/install)+2. [WSL で Docker コンテナを使用する](https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers)```shellcd MoneyPrinterTurbo@@ -375,13 +414,15 @@ uv run python cli.py --batch-file ./tasks.json --stop-at videoサマリーを出力します。マニフェスト内の相対音声・ローカル素材パスはマニフェストのディレクトリを基準に解決されます。-## 音声合成 🗣+## ナレーション・字幕・BGM 🎙️-既定のプロバイダーは無料の **Edge TTS** で、WebUI 上では **Azure TTS V1** と表示されます。MoneyPrinterTurbo は **Azure TTS V2**、**SiliconFlow TTS**、**Google Gemini TTS**、**Xiaomi MiMo TTS**、**ElevenLabs TTS**、セルフホストの **Chatterbox TTS**、**Fish Audio TTS**、および音声なしモードにも対応しています。+### 音声合成++WebUI の **Azure TTS V1** は **Edge TTS** を利用しており、無料かつ API キー不要です。MoneyPrinterTurbo は **Azure TTS V2**、**SiliconFlow TTS**、**Google Gemini TTS**、**Xiaomi MiMo TTS**、**ElevenLabs TTS**、セルフホストの **Chatterbox TTS**、**Fish Audio TTS**、および音声なしモードにも対応しています。WebUI でプロバイダーと音声を選択し、必要な認証情報については画面の案内に従ってください。Edge TTS に API キーは不要です。[Azure TTS V2](https://portal.azure.com/) やその他のクラウドプロバイダーでは、それぞれのプラットフォームで発行した認証情報が必要です。利用可能な Edge TTS の音声は[音声リスト](./docs/voice-list.txt)で確認できます。-## 字幕生成 📜+### 字幕生成字幕の生成モードは 2 種類あります:@@ -413,73 +454,18 @@ MoneyPrinterTurbo│ vocabulary.json```-## BGM 🎵+### BGM動画の BGM は、プロジェクトの `resource/songs` ディレクトリにあります。> 現在のプロジェクトには YouTube 動画由来の既定の音楽がいくつか含まれています。著作権上の問題がある場合は削除してください。-## 字幕フォント 🅰+### 字幕フォント動画の字幕描画に使うフォントは、プロジェクトの `resource/fonts` ディレクトリにあります。独自のフォントを追加することもできます。## よくある質問 🤔-<details>-<summary>TikTok、Instagram、YouTube Shorts へ投稿するには?</summary>--[Upload-Post](https://upload-post.com/) のアカウントと API キーを作成し、`config.toml` の `[app]` 以下に次の設定を追加します:--```toml-[app]-upload_post_enabled = true-upload_post_api_key = "your-api-key"-upload_post_username = "your-username"-upload_post_platforms = ["tiktok", "instagram", "youtube"]-upload_post_auto_upload = true-upload_post_youtube_privacy_status = "public"-```--保存後にアプリを再起動してください。以降、生成された動画は設定したプラットフォームへ自動的に投稿されます。YouTube の公開範囲は `public`、`unlisted`、`private` から設定できます。--</details>--<details>-<summary>Volcano Engine Ark の公式 Seedance 素材ソースを使うには?</summary>--[Ark API キー](https://console.volcengine.com/ark/region:ark+cn-beijing/apikey)を作成し、`[app]` に次を設定します:--```toml-[app]-volcengine_seedance_api_key = "your-ark-api-key"-volcengine_seedance_model = "doubao-seedance-1-0-pro-250528"-volcengine_seedance_base_url = "https://ark.cn-beijing.volces.com/api/v3"-```--Seedance 専用設定が空の場合は、`VOLCENGINE_ARK_API_KEY` 環境変数、既存の LLM 用 `volcengine_api_key` 設定の順に使用します。動画ソースで **Volcano Engine Seedance** を選び、生成前に有料タスクを明示的に確認してください。CLI では `--confirm-seedance-charge` も必要です。--初期実装はテキスト動画生成のみです。各クリップは有料の非同期 Ark タスクとして送信され、同じタスク ID だけをポーリングします。状態が不明な場合は追加送信を停止し、ナレーションを満たす分だけ生成します。--</details>--<details>-<summary>OFox のマルチモデルテキスト動画素材ソースを使うには?</summary>--[OFox API キー](https://ofox.ai)を作成し、`[app]` 配下に設定します:--```toml-[app]-ofox_api_key = "your-ofox-api-key"-ofox_text_to_video_model = "bytedance/seedance-2.0-fast"-ofox_base_url = "https://api.ofox.ai/v1"-```--専用設定が空の場合は、`OFOX_API_KEY` 環境変数を使用します。動画ソースで **OFox AI Video** を選び、生成前に有料タスクを明示的に確認してください。CLI では `--confirm-ofox-charge` も必要です。上流ベンダーは既定で `"byteplus"`(国際ベンダー。コンテンツポリシーが一貫し、ルーティングが予測可能)に固定されます。`ofox_provider` を `"volcengine"`(中国本土ベンダー)に変更するか、空文字列 `""` を設定するとゲートウェイが重みに基づいて分散します。モデルは OFox カタログ(`GET /v1/models`)の任意のテキスト動画モデル(例:`alibaba/wan-2.7`)に変更できます。モデルごとに対応する動画長と解像度が異なり、範囲外の値はタスク作成前に API が明確なエラーで拒否します。--初版はテキスト動画のみ対応です。各クリップは非同期の有料タスクを 1 つ作成します。プログラムは同じタスク ID のみをポーリングし、状態が不明な場合は新規タスクの送信を停止し、ナレーションの長さを満たす分だけ生成します。--</details>-<details><summary>RuntimeError: No ffmpeg exe could be found</summary>@@ -491,7 +477,7 @@ RuntimeError: No ffmpeg exe could be found.Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.```-この場合は、https://www.gyan.dev/ffmpeg/builds/ から ffmpeg をダウンロードして展開し、`ffmpeg_path` に実際のインストールパスを設定してください。+この場合は、[gyan.dev](https://www.gyan.dev/ffmpeg/builds/) から FFmpeg をダウンロードして展開し、`ffmpeg_path` に実際のインストールパスを設定してください。```toml[app]@@ -538,7 +524,7 @@ specified revision on the local disk. Please check your internet connection andTrying to load the model directly from the local cache, if it exists.```-解決方法: [Hugging Face からモデルを手動でダウンロードする方法を参照してください](#字幕生成-)+解決方法: [Hugging Face からモデルを手動でダウンロードする方法を参照してください](#字幕生成)</details>@@ -549,13 +535,3 @@ Trying to load the model directly from the local cache, if it exists.## ライセンス 📝[`LICENSE`](LICENSE) ファイルをクリックしてご覧ください--## Star History--<a href="https://www.star-history.com/?repos=harry0703%2FMoneyPrinterTurbo&type=date&legend=top-left">- <picture>- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&theme=dark&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />- <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />- </picture>-</a>diff --git a/README.md b/README.mdindex 44027500..89b40c18 100644--- a/README.md+++ b/README.md@@ -48,7 +48,7 @@<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"><strong>火山引擎</strong></a></td><td align="left">- 感谢字节火山引擎赞助本项目!火山方舟 Agent/Coding Plan 国模套餐<strong>首购 9.9</strong>,支持 GLM-5.3、Kimi-K3、DeepSeek、MiniMax、Doubao 等,注册免费领 <strong>2500w Token</strong>,统一 API,适配编码与智能体开发。--> <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">立即前往</a>+ 感谢字节火山引擎赞助本项目!火山方舟 Agent/Coding Plan 国模套餐<strong>首购 9.9</strong>,支持 GLM-5.3、Kimi-K3、DeepSeek、MiniMax、Doubao 等,注册免费领 <strong>2500w Token</strong>,统一 API,适配编码与智能体开发。<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">立即前往</a></td></tr><tr>@@ -162,18 +162,21 @@### 视频与图片素材-- [x] 支持上传自己的 **本地图片和视频**,也可从 [Pexels](https://www.pexels.com/api/)、[Pixabay](https://pixabay.com/api/docs/) 和 [Coverr](https://coverr.co/developers?ctx=header_navigation) 获取可免费使用的高清库存素材-- [x] 支持 [WaveSpeed AI](https://wavespeed.ai) 文生视频,以及原生 [火山引擎方舟 Seedance](https://console.volcengine.com/ark/region:ark+cn-beijing/apikey) 接入,可按脚本片段生成全新画面-- [x] 支持 [OFox](https://ofox.ai) 多模型文生视频,一个 API Key 可调用 Seedance、Wan 等模型,并提供付费确认和安全轮询-- [x] 支持 [秘塔 MiniMax H3](https://metaso.cn/minimax-h3/?s=MPT) 文生视频:提供 `768P`/`2K` 原始素材、4~15 秒片段、三种画幅、付费确认和安全轮询-- [x] 支持 [胜算云 AI 视频](https://www.shengsuanyun.com/?from=CH_XUQ4OTSK)和 [OpenAI 兼容文生图](https://platform.openai.com/docs/guides/image-generation)两类素材源,兼顾云端聚合服务和自定义图片网关-- [x] 支持调整片段时长、画面适配方式和素材匹配顺序;付费生成源会按需创建任务,凑够成片时长后停止+- [x] 支持上传自己的 **本地图片和视频**,也可从 [Pexels(免费)](https://www.pexels.com/api/)、[Pixabay(免费)](https://pixabay.com/api/docs/) 和 [Coverr](https://coverr.co/developers?ctx=header_navigation) 获取高清库存素材+- [x] 支持 [秘塔 MiniMax H3](https://metaso.cn/minimax-h3/?s=MPT) 文生视频,可生成 `768P`/`2K`、4~15 秒的原始素材,并适配 `9:16`、`16:9` 和 `1:1` 三种画幅+- [x] 支持 [胜算云 AI 视频](https://www.shengsuanyun.com/?from=CH_XUQ4OTSK),可生成多段 AI 视频素材,并沿用项目的配音、字幕和剪辑流程合成成片+- [x] 原生接入 [火山引擎方舟 Seedance](https://console.volcengine.com/ark/region:ark+cn-beijing/apikey),可根据脚本片段生成连贯的视频画面+- [x] 支持 [WaveSpeed AI](https://wavespeed.ai) 文生视频,可根据脚本关键词快速生成原创素材+- [x] 支持 [OFox](https://ofox.ai) 多模型文生视频,一个 API Key 即可调用 Seedance、Wan 等模型+- [x] 支持 [OpenAI 兼容文生图](https://platform.openai.com/docs/guides/image-generation),可连接云端服务或自定义图片网关,并将生成图片转换为动态视频片段+- [x] 支持调整片段时长、画面适配方式和素材匹配顺序,以适配不同画幅和叙事节奏-### 配音、字幕与音乐+### 配音、字幕与配乐-- [x] 支持自动配音、上传配音和无配音模式;集成 **Edge TTS、Azure Speech、SiliconFlow、Google Gemini、小米 MiMo、MiniMax、ElevenLabs、Chatterbox、Fish Audio**,并支持实时试听+- [x] 支持自动配音、上传配音和无配音三种方式,并提供音色试听与完整配音预览+- [x] 集成 **Edge TTS(免费、无需 API Key)**、Azure Speech、SiliconFlow、Google Gemini、小米 MiMo、MiniMax、ElevenLabs、Chatterbox 和 Fish Audio 等配音服务- [x] 支持自动生成字幕,可调整字体、位置、颜色、大小、描边和背景样式-- [x] 支持随机、本地和 AI 生成背景音乐,并可独立控制音量+- [x] 支持随机、本地及 AI 生成背景音乐,并可独立控制音量### 成片与发布@@ -261,7 +264,7 @@下载一键启动包,解压直接使用(路径不要有 **中文**、**特殊字符**、**空格**)-- GitHub Releases:https://github.com/harry0703/MoneyPrinterTurbo/releases/latest+- [下载最新 Windows 一键启动包](https://github.com/harry0703/MoneyPrinterTurbo/releases/latest)下载后,建议先**双击执行** `update.bat` 更新到**最新代码**,然后双击 `start.bat` 启动@@ -280,20 +283,20 @@git clone https://github.com/harry0703/MoneyPrinterTurbo.git```-#### ② 配置项目(可选)+#### ② 首次配置-首次启动时,项目会根据 `config.example.toml` 自动创建 `config.toml`。大模型 Provider、素材来源和相关 API Key 可以直接在 WebUI 的基础设置中配置。+首次启动时,项目会根据 `config.example.toml` 自动创建 `config.toml`,无需手动创建配置文件。使用云端大模型、在线素材或 AI 视频等服务前,请在 WebUI 的基础设置中填写对应的 API Key。### Docker 部署 🐳#### ① 启动 Docker-如果未安装 Docker,请先安装 https://www.docker.com/products/docker-desktop/+如果尚未安装 Docker,请先[下载并安装 Docker Desktop](https://www.docker.com/products/docker-desktop/)。Windows 用户可以参考微软的文档:-1. https://learn.microsoft.com/zh-cn/windows/wsl/install-2. https://learn.microsoft.com/zh-cn/windows/wsl/tutorials/wsl-containers+1. [安装 WSL](https://learn.microsoft.com/zh-cn/windows/wsl/install)+2. [在 WSL 中使用 Docker 容器](https://learn.microsoft.com/zh-cn/windows/wsl/tutorials/wsl-containers)```shellcd MoneyPrinterTurbo@@ -318,8 +321,8 @@ docker compose -f docker-compose.release.yml up> 视频教程-- 完整的使用演示:https://v.douyin.com/iFhnwsKY/-- 如何在 Windows 上部署:https://v.douyin.com/iFyjoW3M+- [完整的使用演示](https://v.douyin.com/iFhnwsKY/)+- [如何在 Windows 上部署](https://v.douyin.com/iFyjoW3M)#### ① 创建虚拟环境@@ -416,13 +419,15 @@ uv run python cli.py --batch-file ./tasks.json --stop-at video参数与本地文件预检;单个任务运行失败不会阻止后续条目,结束后会输出统一的JSON 汇总。清单中的相对自定义音频与本地素材路径以清单目录为基准。-## 语音合成 🗣+## 配音、字幕与配乐 🎙️-默认使用免费的 **Edge TTS**,在 WebUI 中显示为 **Azure TTS V1**。项目同时支持 **Azure TTS V2**、**SiliconFlow TTS**、**Google Gemini TTS**、**小米 MiMo TTS**、**ElevenLabs TTS**、自托管 **Chatterbox TTS**、**Fish Audio TTS**,以及无配音模式。+### 语音合成++WebUI 中的 **Azure TTS V1** 基于 **Edge TTS**,免费且无需 API Key。项目同时支持 **Azure TTS V2**、**SiliconFlow TTS**、**Google Gemini TTS**、**小米 MiMo TTS**、**ElevenLabs TTS**、自托管 **Chatterbox TTS**、**Fish Audio TTS**,以及无配音模式。可直接在 WebUI 中选择 Provider 和音色,并按照界面提示填写所需凭据。Edge TTS 不需要 API Key;[Azure TTS V2](https://portal.azure.com/) 及其他云端服务需要对应平台的凭据。Edge TTS 音色可查看:[音色列表](./docs/voice-list.txt)。-## 字幕生成 📜+### 字幕生成当前支持两种字幕生成方式:@@ -454,97 +459,18 @@ MoneyPrinterTurbo│ vocabulary.json```-## 背景音乐 🎵+### 背景音乐用于视频的背景音乐,位于项目的 `resource/songs` 目录下。> 当前项目里面放了一些默认的音乐,来自于 YouTube 视频,如有侵权,请删除。-## 字幕字体 🅰+### 字幕字体用于视频字幕的渲染,位于项目的 `resource/fonts` 目录下,你也可以放进去自己的字体。## 常见问题 🤔-<details>-<summary>如何发布到 TikTok、Instagram 或 YouTube Shorts?</summary>--注册 [Upload-Post](https://upload-post.com/) 账号并获取 API Key,然后在 `config.toml` 的 `[app]` 下添加以下配置:--```toml-[app]-upload_post_enabled = true-upload_post_api_key = "your-api-key"-upload_post_username = "your-username"-upload_post_platforms = ["tiktok", "instagram", "youtube"]-upload_post_auto_upload = true-upload_post_youtube_privacy_status = "public"-```--保存配置并重启项目。视频生成完成后,程序会自动发布到已配置的平台。YouTube 可见性可设置为 `public`、`unlisted` 或 `private`。--</details>--<details>-<summary>如何使用火山引擎方舟官方 Seedance 素材源?</summary>--创建[火山方舟 API Key](https://console.volcengine.com/ark/region:ark+cn-beijing/apikey),然后在 `[app]` 下配置:--```toml-[app]-volcengine_seedance_api_key = "your-ark-api-key"-volcengine_seedance_model = "doubao-seedance-1-0-pro-250528"-volcengine_seedance_base_url = "https://ark.cn-beijing.volces.com/api/v3"-```--Seedance 专用配置为空时,会依次使用 `VOLCENGINE_ARK_API_KEY` 环境变量和已有的 `volcengine_api_key` 大模型配置。在视频源中选择“火山引擎 Seedance”,并在生成前明确确认付费任务;CLI 还需要传入 `--confirm-seedance-charge`。--首版仅支持文生视频。每个片段都会创建一个异步付费方舟任务;程序只轮询同一个任务 ID,状态不明时停止继续下单,并仅生成足够覆盖配音时长的素材。--</details>--<details>-<summary>如何使用 OFox 多模型文生视频素材源?</summary>--创建 [OFox API Key](https://ofox.ai),然后在 `[app]` 下配置:--```toml-[app]-ofox_api_key = "your-ofox-api-key"-ofox_text_to_video_model = "bytedance/seedance-2.0-fast"-ofox_base_url = "https://api.ofox.ai/v1"-```--专用配置为空时,会使用 `OFOX_API_KEY` 环境变量。在视频源中选择"OFox AI 视频",并在生成前明确确认付费任务;CLI 还需要传入 `--confirm-ofox-charge`。上游厂商默认钉定 `"byteplus"`(国际厂商,内容政策一致、路由可预期);可通过 `ofox_provider` 改为 `"volcengine"`(大陆厂商),或显式置空 `""` 交由网关按权重分发。模型可换成 OFox 目录(`GET /v1/models`)中任意文生视频模型(如 `alibaba/wan-2.7`),不同模型支持的时长区间与分辨率不同,超出范围会在创建任务前被 API 明确拒绝。--首版仅支持文生视频。每个片段都会创建一个异步付费任务;程序只轮询同一个任务 ID,状态不明时停止继续下单,并仅生成足够覆盖配音时长的素材。--</details>--<details>-<summary>如何使用秘塔 MiniMax H3 视频素材源?</summary>--通过 [MoneyPrinterTurbo 专属链接](https://metaso.cn/minimax-h3/?s=MPT) 注册并获取-秘塔独立 API Key,然后在 `[app]` 下配置:--```toml-[app]-metaso_minimax_api_key = "your-metaso-api-key"-metaso_minimax_base_url = "https://metaso.cn/api/minimax"-metaso_minimax_resolution = "2K"-```--也可以通过 `METASO_MINIMAX_API_KEY` 环境变量提供密钥。该密钥与 MiniMax-大模型 API Key 不属于同一账户体系,不能混用。在视频源中选择“秘塔 · MiniMax-H3”并确认付费提示;CLI 还需要传入 `--confirm-metaso-minimax-charge`。--当前支持文生视频,片段时长为 4~15 秒,分辨率支持 `768P` 和 `2K`。程序会-逐段创建异步任务,只轮询同一个任务 ID;任务状态不明时停止继续下单,并在-凑够配音所需素材后立即停止生成。这里的分辨率控制秘塔生成的原始素材规格;-MPT 最终成片仍按项目当前的固定画布导出(例如 16:9 为 1920×1080)。--</details>-<details><summary>RuntimeError: No ffmpeg exe could be found</summary>@@ -556,7 +482,7 @@ RuntimeError: No ffmpeg exe could be found.Install ffmpeg on your system, or set the IMAGEIO_FFMPEG_EXE environment variable.```-此时你可以从 https://www.gyan.dev/ffmpeg/builds/ 下载ffmpeg,解压后,设置 `ffmpeg_path` 为你的实际安装路径即可。+此时可以从 [gyan.dev](https://www.gyan.dev/ffmpeg/builds/) 下载 FFmpeg。解压后,将 `ffmpeg_path` 设置为实际安装路径即可。```toml[app]@@ -603,7 +529,7 @@ specified revision on the local disk. Please check your internet connection andTrying to load the model directly from the local cache, if it exists.```-解决方法:[查看如何从 Hugging Face 手动下载模型](#%E5%AD%97%E5%B9%95%E7%94%9F%E6%88%90-)+解决方法:[查看如何从 Hugging Face 手动下载模型](#字幕生成)</details>@@ -614,13 +540,3 @@ Trying to load the model directly from the local cache, if it exists.## 许可证 📝点击查看 [`LICENSE`](LICENSE) 文件--## Star History--<a href="https://www.star-history.com/?repos=harry0703%2FMoneyPrinterTurbo&type=date&legend=top-left">- <picture>- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&theme=dark&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />- <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=harry0703/MoneyPrinterTurbo&type=date&legend=top-left&sealed_token=AtOR8By6GcNKd46eJLixrnucHF_99GOSBBKfc60pAm2xsDylemaYxDMcvTlPRz-G_onzDrs-hDrM0xdKkn0L6PgDin3fv02ViVtsZvgRYgk0YOzkX2KgLG8wro66VGphii-u6GNpzD8JocrqGGKvsFSpmbRqo5g-2mEDaN7-ESdtF48ZH0rDOCpoc1Mh" />- </picture>-</a>diff --git a/app/__init__.py b/app/__init__.pyindex 78eea53d..b931e647 100644--- a/app/__init__.py+++ b/app/__init__.py@@ -1,3 +1,3 @@"""MoneyPrinterTurbo 应用包元数据。"""-__version__ = "1.3.5"+__version__ = "1.3.6"diff --git a/pyproject.toml b/pyproject.tomlindex e5f3ca6e..b3135404 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -7,7 +7,7 @@ build-backend = "hatchling.build"[project]name = "moneyprinterturbo"-version = "1.3.5"+version = "1.3.6"description = "Generate short videos from prompts, local assets, subtitles, and TTS."readme = "README-en.md"requires-python = ">=3.11"diff --git a/uv.lock b/uv.lockindex 299ceecb..d5b6e8c6 100644--- a/uv.lock+++ b/uv.lock@@ -1498,7 +1498,7 @@ wheels = [[[package]]name = "moneyprinterturbo"-version = "1.3.5"+version = "1.3.6"source = { virtual = "." }dependencies = [{ name = "audioop-lts", marker = "python_full_version >= '3.13'" },