diff --git a/README-en.md b/README-en.md
index 8a04464..69effae 100644
--- a/README-en.md
+++ b/README-en.md
@@ -2,7 +2,7 @@
[//]: # (

)
diff --git a/webui.sh b/webui.sh
index ac0d64c..4b7b7a4 100644
--- a/webui.sh
+++ b/webui.sh
@@ -47,5 +47,4 @@ done
# 等待所有后台任务完成
wait
echo "所有文件已成功下载到指定目录"
-streamlit run ./webui/Main.py --browser.serverAddress="0.0.0.0" --server.enableCORS=True --browser.gatherUsageStats=False
-
+streamlit run ./webui/Main.py --browser.serverAddress="0.0.0.0" --server.enableCORS=True --server.maxUploadSize=2048 --browser.gatherUsageStats=False
diff --git a/webui/i18n/de.json b/webui/i18n/de.json
deleted file mode 100644
index 7749e6f..0000000
--- a/webui/i18n/de.json
+++ /dev/null
@@ -1,79 +0,0 @@
-{
- "Language": "German",
- "Translation": {
- "Video Script Settings": "**Drehbuch / Topic des Videos**",
- "Video Subject": "Worum soll es in dem Video gehen? (Geben Sie ein Keyword an, :red[Dank KI wird automatisch ein Drehbuch generieren])",
- "Script Language": "Welche Sprache soll zum Generieren von Drehbüchern verwendet werden? :red[KI generiert anhand dieses Begriffs das Drehbuch]",
- "Generate Video Script and Keywords": "Klicken Sie hier, um mithilfe von KI ein [Video Drehbuch] und [Video Keywords] basierend auf dem **Keyword** zu generieren.",
- "Auto Detect": "Automatisch erkennen",
- "Video Script": "Drehbuch (Storybook) (:blue[① Optional, KI generiert ② Die richtige Zeichensetzung hilft bei der Erstellung von Untertiteln])",
- "Generate Video Keywords": "Klicken Sie, um KI zum Generieren zu verwenden [Video Keywords] basierend auf dem **Drehbuch**",
- "Please Enter the Video Subject": "Bitte geben Sie zuerst das Drehbuch an",
- "Generating Video Script and Keywords": "KI generiert ein Drehbuch und Schlüsselwörter...",
- "Generating Video Keywords": "AI is generating video keywords...",
- "Video Keywords": "Video Schlüsselwörter (:blue[① Optional, KI generiert ② Verwende **, (Kommas)** zur Trennung der Wörter, in englischer Sprache])",
- "Video Settings": "**Video Einstellungen**",
- "Video Concat Mode": "Videoverkettungsmodus",
- "Random": "Zufällige Verkettung (empfohlen)",
- "Sequential": "Sequentielle Verkettung",
- "Video Ratio": "Video-Seitenverhältnis",
- "Portrait": "Portrait 9:16",
- "Landscape": "Landschaft 16:9",
- "Clip Duration": "Maximale Dauer einzelner Videoclips in sekunden",
- "Number of Videos Generated Simultaneously": "Anzahl der parallel generierten Videos",
- "Audio Settings": "**Audio Einstellungen**",
- "Speech Synthesis": "Sprachausgabe",
- "Speech Region": "Region(:red[Required,[Get Region](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Key": "API Key(:red[Required,[Get API Key](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Volume": "Lautstärke der Sprachausgabe",
- "Speech Rate": "Lesegeschwindigkeit (1,0 bedeutet 1x)",
- "Male": "Männlich",
- "Female": "Weiblich",
- "Background Music": "Hintergrundmusik",
- "No Background Music": "Ohne Hintergrundmusik",
- "Random Background Music": "Zufällig erzeugte Hintergrundmusik",
- "Custom Background Music": "Benutzerdefinierte Hintergrundmusik",
- "Custom Background Music File": "Bitte gib den Pfad zur Musikdatei an:",
- "Background Music Volume": "Lautstärke: (0.2 entspricht 20%, sollte nicht zu laut sein)",
- "Subtitle Settings": "**Untertitel-Einstellungen**",
- "Enable Subtitles": "Untertitel aktivieren (Wenn diese Option deaktiviert ist, werden die Einstellungen nicht genutzt)",
- "Font": "Schriftart des Untertitels",
- "Position": "Ausrichtung des Untertitels",
- "Top": "Oben",
- "Center": "Mittig",
- "Bottom": "Unten (empfohlen)",
- "Custom": "Benutzerdefinierte Position (70, was 70% von oben bedeutet)",
- "Font Size": "Schriftgröße für Untertitel",
- "Font Color": "Schriftfarbe",
- "Stroke Color": "Kontur",
- "Stroke Width": "Breite der Untertitelkontur",
- "Generate Video": "Generiere Videos durch KI",
- "Video Script and Subject Cannot Both Be Empty": "Das Video-Thema und Drehbuch dürfen nicht beide leer sein",
- "Generating Video": "Video wird erstellt, bitte warten...",
- "Start Generating Video": "Beginne mit der Generierung",
- "Video Generation Completed": "Video erfolgreich generiert",
- "Video Generation Failed": "Video Generierung fehlgeschlagen",
- "You can download the generated video from the following links": "Sie können das generierte Video über die folgenden Links herunterladen",
- "Basic Settings": "**Grunde Instellungen**",
- "Pexels API Key": "Pexels API Key ([Get API Key](https://www.pexels.com/api/))",
- "Pixabay API Key": "Pixabay API Key ([Get API Key](https://pixabay.com/api/docs/#api_search_videos))",
- "Language": "Language",
- "LLM Provider": "LLM Provider",
- "API Key": "API Key (:red[Required])",
- "Base Url": "Base Url",
- "Model Name": "Model Name",
- "Please Enter the LLM API Key": "Please Enter the **LLM API Key**",
- "Please Enter the Pexels API Key": "Please Enter the **Pexels API Key**",
- "Please Enter the Pixabay API Key": "Please Enter the **Pixabay API Key**",
- "Get Help": "If you need help, or have any questions, you can join discord for help ",
- "Video Source": "Video Source",
- "TikTok": "TikTok (TikTok support is coming soon)",
- "Bilibili": "Bilibili (Bilibili support is coming soon)",
- "Xiaohongshu": "Xiaohongshu (Xiaohongshu support is coming soon)",
- "Local file": "Local file",
- "Play Voice": "Play Voice",
- "Voice Example": "This is an example text for testing speech synthesis",
- "Synthesizing Voice": "Synthesizing voice, please wait...",
- "TTS Provider": "Select the voice synthesis provider"
- }
-}
\ No newline at end of file
diff --git a/webui/i18n/en.json b/webui/i18n/en.json
index 9e97c11..6ec7f08 100644
--- a/webui/i18n/en.json
+++ b/webui/i18n/en.json
@@ -1,52 +1,59 @@
{
"Language": "English",
"Translation": {
- "Video Script Settings": "**Video Script Settings**",
- "Video Subject": "Video Subject (Provide a keyword, :red[AI will automatically generate] video script)",
- "Script Language": "Language for Generating Video Script (AI will automatically output based on the language of your subject)",
- "Generate Video Script and Keywords": "Click to use AI to generate [Video Script] and [Video Keywords] based on **subject**",
+ "Video Script Configuration": "**Video Script Configuration**",
+ "Video Script Generate": "Generate Video Script",
+ "Video Subject": "Video Subject (Given a keyword, :red[AI auto-generates] video script)",
+ "Script Language": "Language of the generated video script (Usually, AI automatically outputs according to the language of the input subject)",
+ "Script Files": "Script Files",
+ "Generate Video Script and Keywords": "Click to use AI to generate **Video Script** and **Video Keywords** based on the **subject**",
"Auto Detect": "Auto Detect",
- "Video Script": "Video Script (:blue[① Optional, AI generated ② Proper punctuation helps with subtitle generation])",
- "Generate Video Keywords": "Click to use AI to generate [Video Keywords] based on **script**",
- "Please Enter the Video Subject": "Please Enter the Video Script First",
- "Generating Video Script and Keywords": "AI is generating video script and keywords...",
- "Generating Video Keywords": "AI is generating video keywords...",
- "Video Keywords": "Video Keywords (:blue[① Optional, AI generated ② Use **English commas** for separation, English only])",
+ "Auto Generate": "Auto Generate",
+ "Video Script": "Video Script (:blue[①Optional, use AI to generate ②Proper punctuation helps in generating subtitles])",
+ "Save Script": "Save Script",
+ "Crop Video": "Crop Video",
+ "Video File": "Video File (:blue[1️⃣Supports uploading video files (limit 2G) 2️⃣For large files, it is recommended to directly import them into the ./resource/videos directory])",
+ "Plot Description": "Plot Description (:blue[Can be obtained from https://www.tvmao.com/])",
+ "Generate Video Keywords": "Click to use AI to generate **Video Keywords** based on the **script**",
+ "Please Enter the Video Subject": "Please enter the video script first",
+ "Generating Video Script and Keywords": "AI is generating the video script and keywords...",
+ "Generating Video Keywords": "AI is generating the video keywords...",
+ "Video Keywords": "Video Keywords (:blue[Long videos work better in conjunction with plot descriptions.])",
"Video Settings": "**Video Settings**",
"Video Concat Mode": "Video Concatenation Mode",
"Random": "Random Concatenation (Recommended)",
"Sequential": "Sequential Concatenation",
- "Video Ratio": "Video Aspect Ratio",
- "Portrait": "Portrait 9:16",
- "Landscape": "Landscape 16:9",
- "Clip Duration": "Maximum Duration of Video Clips (seconds)",
+ "Video Ratio": "Video Ratio",
+ "Portrait": "Portrait 9:16 (TikTok Video)",
+ "Landscape": "Landscape 16:9 (Xigua Video)",
+ "Clip Duration": "Maximum Clip Duration (Seconds) (**Not the total length of the video**, refers to the length of each **composite segment**)",
"Number of Videos Generated Simultaneously": "Number of Videos Generated Simultaneously",
"Audio Settings": "**Audio Settings**",
- "Speech Synthesis": "Speech Synthesis Voice",
- "Speech Region": "Region(:red[Required,[Get Region](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Key": "API Key(:red[Required,[Get API Key](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
+ "Speech Synthesis": "Speech Synthesis Voice (:red[**Keep consistent with the script language**. Note: V2 version performs better, but requires an API KEY])",
+ "Speech Region": "Service Region (:red[Required, [Click to Get](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
+ "Speech Key": "API Key (:red[Required, either Key 1 or Key 2 is acceptable [Click to Get](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
"Speech Volume": "Speech Volume (1.0 represents 100%)",
- "Speech Rate": "Speech Rate (1.0 means 1x speed)",
+ "Speech Rate": "Speech Rate (1.0 represents 1x speed)",
"Male": "Male",
"Female": "Female",
"Background Music": "Background Music",
"No Background Music": "No Background Music",
"Random Background Music": "Random Background Music",
"Custom Background Music": "Custom Background Music",
- "Custom Background Music File": "Please enter the file path for custom background music:",
- "Background Music Volume": "Background Music Volume (0.2 represents 20%, background music should not be too loud)",
+ "Custom Background Music File": "Please enter the file path of the custom background music",
+ "Background Music Volume": "Background Music Volume (0.2 represents 20%, background sound should not be too loud)",
"Subtitle Settings": "**Subtitle Settings**",
- "Enable Subtitles": "Enable Subtitles (If unchecked, the settings below will not take effect)",
+ "Enable Subtitles": "Enable Subtitles (If unchecked, the following settings will not take effect)",
"Font": "Subtitle Font",
"Position": "Subtitle Position",
"Top": "Top",
"Center": "Center",
"Bottom": "Bottom (Recommended)",
- "Custom": "Custom position (70, indicating 70% down from the top)",
- "Font Size": "Subtitle Font Size",
- "Font Color": "Subtitle Font Color",
- "Stroke Color": "Subtitle Outline Color",
- "Stroke Width": "Subtitle Outline Width",
+ "Custom": "Custom Position (70, represents 70% from the top)",
+ "Font Size": "Subtitle Size",
+ "Font Color": "Subtitle Color",
+ "Stroke Color": "Stroke Color",
+ "Stroke Width": "Stroke Width",
"Generate Video": "Generate Video",
"Video Script and Subject Cannot Both Be Empty": "Video Subject and Video Script cannot both be empty",
"Generating Video": "Generating video, please wait...",
@@ -54,28 +61,30 @@
"Video Generation Completed": "Video Generation Completed",
"Video Generation Failed": "Video Generation Failed",
"You can download the generated video from the following links": "You can download the generated video from the following links",
- "Pexels API Key": "Pexels API Key ([Get API Key](https://www.pexels.com/api/))",
- "Pixabay API Key": "Pixabay API Key ([Get API Key](https://pixabay.com/api/docs/#api_search_videos))",
"Basic Settings": "**Basic Settings** (:blue[Click to expand])",
- "Language": "Language",
+ "Language": "Interface Language",
+ "Pexels API Key": "Pexels API Key ([Click to Get](https://www.pexels.com/api/)) :red[Recommended]",
+ "Pixabay API Key": "Pixabay API Key ([Click to Get](https://pixabay.com/api/docs/#api_search_videos)) :red[Optional, if Pexels is unavailable, then choose Pixabay]",
"LLM Provider": "LLM Provider",
- "API Key": "API Key (:red[Required])",
- "Base Url": "Base Url",
- "Account ID": "Account ID (Get from Cloudflare dashboard)",
- "Model Name": "Model Name",
- "Please Enter the LLM API Key": "Please Enter the **LLM API Key**",
- "Please Enter the Pexels API Key": "Please Enter the **Pexels API Key**",
- "Please Enter the Pixabay API Key": "Please Enter the **Pixabay API Key**",
- "Get Help": "If you need help, or have any questions, you can join discord for help ",
+ "API Key": "API Key (:red[Required, must be applied from the LLM provider's backend])",
+ "Base Url": "Base Url (Optional)",
+ "Account ID": "Account ID (Obtained from the URL of the Cloudflare dashboard)",
+ "Model Name": "Model Name (:blue[Confirm the authorized model name from the LLM provider's backend])",
+ "Please Enter the LLM API Key": "Please enter the **LLM API Key**",
+ "Please Enter the Pexels API Key": "Please enter the **Pexels API Key**",
+ "Please Enter the Pixabay API Key": "Please enter the **Pixabay API Key**",
+ "Get Help": "One-stop AI video commentary + automated editing tool\uD83C\uDF89\uD83C\uDF89\uD83C\uDF89\n\nFor any questions or suggestions, you can join the **community channel** for help or discussion: https://discord.gg/WBKChhmZ",
"Video Source": "Video Source",
- "TikTok": "TikTok (TikTok support is coming soon)",
- "Bilibili": "Bilibili (Bilibili support is coming soon)",
- "Xiaohongshu": "Xiaohongshu (Xiaohongshu support is coming soon)",
+ "TikTok": "TikTok (Support is coming soon)",
+ "Bilibili": "Bilibili (Support is coming soon)",
+ "Xiaohongshu": "Xiaohongshu (Support is coming soon)",
"Local file": "Local file",
- "Play Voice": "Play Voice",
- "Voice Example": "This is an example text for testing speech synthesis",
+ "Play Voice": "Play Synthesized Voice",
+ "Voice Example": "This is a sample text for testing voice synthesis",
"Synthesizing Voice": "Synthesizing voice, please wait...",
- "TTS Provider": "Select the voice synthesis provider",
- "Hide Log": "Hide Log"
+ "TTS Provider": "TTS Provider",
+ "Hide Log": "Hide Log",
+ "Upload Local Files": "Upload Local Files",
+ "File Uploaded Successfully": "File Uploaded Successfully"
}
}
\ No newline at end of file
diff --git a/webui/i18n/vi.json b/webui/i18n/vi.json
deleted file mode 100644
index 339d30e..0000000
--- a/webui/i18n/vi.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "Language": "Tiếng Việt",
- "Translation": {
- "Video Script Settings": "**Cài Đặt Kịch Bản Video**",
- "Video Subject": "Chủ Đề Video (Cung cấp một từ khóa, :red[AI sẽ tự động tạo ra] kịch bản video)",
- "Script Language": "Ngôn Ngữ cho Việc Tạo Kịch Bản Video (AI sẽ tự động xuất ra dựa trên ngôn ngữ của chủ đề của bạn)",
- "Generate Video Script and Keywords": "Nhấn để sử dụng AI để tạo [Kịch Bản Video] và [Từ Khóa Video] dựa trên **chủ đề**",
- "Auto Detect": "Tự Động Phát Hiện",
- "Video Script": "Kịch Bản Video (:blue[① Tùy chọn, AI tạo ra ② Dấu câu chính xác giúp việc tạo phụ đề)",
- "Generate Video Keywords": "Nhấn để sử dụng AI để tạo [Từ Khóa Video] dựa trên **kịch bản**",
- "Please Enter the Video Subject": "Vui lòng Nhập Kịch Bản Video Trước",
- "Generating Video Script and Keywords": "AI đang tạo kịch bản video và từ khóa...",
- "Generating Video Keywords": "AI đang tạo từ khóa video...",
- "Video Keywords": "Từ Khóa Video (:blue[① Tùy chọn, AI tạo ra ② Sử dụng dấu phẩy **Tiếng Anh** để phân tách, chỉ sử dụng Tiếng Anh])",
- "Video Settings": "**Cài Đặt Video**",
- "Video Concat Mode": "Chế Độ Nối Video",
- "Random": "Nối Ngẫu Nhiên (Được Khuyến Nghị)",
- "Sequential": "Nối Theo Thứ Tự",
- "Video Ratio": "Tỷ Lệ Khung Hình Video",
- "Portrait": "Dọc 9:16",
- "Landscape": "Ngang 16:9",
- "Clip Duration": "Thời Lượng Tối Đa Của Đoạn Video (giây)",
- "Number of Videos Generated Simultaneously": "Số Video Được Tạo Ra Đồng Thời",
- "Audio Settings": "**Cài Đặt Âm Thanh**",
- "Speech Synthesis": "Giọng Đọc Văn Bản",
- "Speech Region": "Vùng(:red[Bắt Buộc,[Lấy Vùng](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Key": "Khóa API(:red[Bắt Buộc,[Lấy Khóa API](https://portal.azure.com/#view/Microsoft_Azure_ProjectOxford/CognitiveServicesHub/~/SpeechServices)])",
- "Speech Volume": "Âm Lượng Giọng Đọc (1.0 đại diện cho 100%)",
- "Speech Rate": "Tốc độ đọc (1.0 biểu thị tốc độ gốc)",
- "Male": "Nam",
- "Female": "Nữ",
- "Background Music": "Âm Nhạc Nền",
- "No Background Music": "Không Có Âm Nhạc Nền",
- "Random Background Music": "Âm Nhạc Nền Ngẫu Nhiên",
- "Custom Background Music": "Âm Nhạc Nền Tùy Chỉnh",
- "Custom Background Music File": "Vui lòng nhập đường dẫn tệp cho âm nhạc nền tùy chỉnh:",
- "Background Music Volume": "Âm Lượng Âm Nhạc Nền (0.2 đại diện cho 20%, âm nhạc nền không nên quá to)",
- "Subtitle Settings": "**Cài Đặt Phụ Đề**",
- "Enable Subtitles": "Bật Phụ Đề (Nếu không chọn, các cài đặt dưới đây sẽ không có hiệu lực)",
- "Font": "Phông Chữ Phụ Đề",
- "Position": "Vị Trí Phụ Đề",
- "Top": "Trên",
- "Center": "Giữa",
- "Bottom": "Dưới (Được Khuyến Nghị)",
- "Custom": "Vị trí tùy chỉnh (70, chỉ ra là cách đầu trang 70%)",
- "Font Size": "Cỡ Chữ Phụ Đề",
- "Font Color": "Màu Chữ Phụ Đề",
- "Stroke Color": "Màu Viền Phụ Đề",
- "Stroke Width": "Độ Rộng Viền Phụ Đề",
- "Generate Video": "Tạo Video",
- "Video Script and Subject Cannot Both Be Empty": "Chủ Đề Video và Kịch Bản Video không thể cùng trống",
- "Generating Video": "Đang tạo video, vui lòng đợi...",
- "Start Generating Video": "Bắt Đầu Tạo Video",
- "Video Generation Completed": "Hoàn Tất Tạo Video",
- "Video Generation Failed": "Tạo Video Thất Bại",
- "You can download the generated video from the following links": "Bạn có thể tải video được tạo ra từ các liên kết sau",
- "Pexels API Key": "Khóa API Pexels ([Lấy Khóa API](https://www.pexels.com/api/))",
- "Pixabay API Key": "Pixabay API Key ([Get API Key](https://pixabay.com/api/docs/#api_search_videos))",
- "Basic Settings": "**Cài Đặt Cơ Bản** (:blue[Nhấp để mở rộng])",
- "Language": "Ngôn Ngữ",
- "LLM Provider": "Nhà Cung Cấp LLM",
- "API Key": "Khóa API (:red[Bắt Buộc])",
- "Base Url": "Url Cơ Bản",
- "Account ID": "ID Tài Khoản (Lấy từ bảng điều khiển Cloudflare)",
- "Model Name": "Tên Mô Hình",
- "Please Enter the LLM API Key": "Vui lòng Nhập **Khóa API LLM**",
- "Please Enter the Pexels API Key": "Vui lòng Nhập **Khóa API Pexels**",
- "Please Enter the Pixabay API Key": "Vui lòng Nhập **Pixabay API Key**",
- "Get Help": "Nếu bạn cần giúp đỡ hoặc có bất kỳ câu hỏi nào, bạn có thể tham gia discord để được giúp đỡ ",
- "Video Source": "Video Source",
- "TikTok": "TikTok (TikTok support is coming soon)",
- "Bilibili": "Bilibili (Bilibili support is coming soon)",
- "Xiaohongshu": "Xiaohongshu (Xiaohongshu support is coming soon)",
- "Local file": "Local file",
- "Play Voice": "Play Voice",
- "Voice Example": "This is an example text for testing speech synthesis",
- "Synthesizing Voice": "Synthesizing voice, please wait...",
- "TTS Provider": "Select the voice synthesis provider"
- }
-}
diff --git a/webui/i18n/zh.json b/webui/i18n/zh.json
index 82b3d72..c28aeb9 100644
--- a/webui/i18n/zh.json
+++ b/webui/i18n/zh.json
@@ -12,13 +12,13 @@
"Video Script": "视频脚本(:blue[①可不填,使用AI生成 ②合理使用标点断句,有助于生成字幕])",
"Save Script": "保存脚本",
"Crop Video": "裁剪视频",
- "Video File": "视频文件(:blue)",
+ "Video File": "视频文件(:blue[1️⃣支持上传视频文件(限制2G) 2️⃣大文件建议直接导入 ./resource/videos 目录])",
"Plot Description": "剧情描述 (:blue[可从 https://www.tvmao.com/ 获取])",
"Generate Video Keywords": "点击使用AI根据**文案**生成【视频关键词】",
"Please Enter the Video Subject": "请先填写视频文案",
"Generating Video Script and Keywords": "AI正在生成视频文案和关键词...",
"Generating Video Keywords": "AI正在生成视频关键词...",
- "Video Keywords": "视频关键词(:blue[①可不填,使用AI生成 ②用**英文逗号**分隔,只支持英文])",
+ "Video Keywords": "视频关键词(:blue[对于长视频配合剧情描述效果更好])",
"Video Settings": "**视频设置**",
"Video Concat Mode": "视频拼接模式",
"Random": "随机拼接(推荐)",