Optimize the generation logic

This commit is contained in:
puke
2025-10-26 01:52:49 +08:00
committed by puke
parent 198094fe5f
commit f832424dab
17 changed files with 869 additions and 417 deletions

View File

@@ -12,6 +12,10 @@
"input_mode.topic": "💡 Topic",
"input_mode.custom": "✍️ Custom Content",
"mode.generate": "💡 Generate Mode",
"mode.fixed": "📄 Fixed Mode",
"mode.help": "Generate: AI creates narrations from topic. Fixed: Use existing script without modification.",
"input.book_name": "Book Name",
"input.book_name_placeholder": "e.g., Atomic Habits, How to Win Friends",
"input.book_name_help": "Enter the book name, will fetch book info and generate video",
@@ -20,12 +24,17 @@
"input.topic_placeholder": "e.g., How to build passive income, How to build good habits",
"input.topic_help": "Enter a topic, AI will generate content based on it",
"input.text": "Text Input",
"input.text_help_generate": "Enter topic or theme (AI will create narrations)",
"input.text_help_fixed": "Enter complete narration script (will be split into scenes)",
"input.content": "Content",
"input.content_placeholder": "Enter your custom content here...",
"input.content_help": "Provide your own content for video generation",
"input.title": "Title (Optional)",
"input.title_placeholder": "Video title (auto-generated if empty)",
"input.title_help": "Optional: Custom title for the video",
"book.search": "🔍 Search Book",
"book.searching": "Searching book...",
@@ -63,9 +72,10 @@
"template.neon": "Neon",
"video.title": "🎬 Video Settings",
"video.frames": "Frames",
"video.frames_help": "More frames = longer video",
"video.frames_label": "Frames: {n}",
"video.frames": "Scenes",
"video.frames_help": "More scenes = longer video",
"video.frames_label": "Scenes: {n}",
"video.frames_fixed_mode_hint": "💡 Fixed mode: scene count is determined by actual script segments",
"bgm.title": "🎵 Background Music",
"bgm.none": "🔇 No BGM",
@@ -90,6 +100,7 @@
"status.connection_failed": "❌ Connection failed",
"progress.generating_narrations": "Generating narrations...",
"progress.splitting_script": "Splitting script...",
"progress.generating_image_prompts": "Generating image prompts...",
"progress.frame": "Frame {current}/{total}",
"progress.frame_step": "Frame {current}/{total} - Step {step}/4: {action}",

View File

@@ -12,6 +12,10 @@
"input_mode.topic": "💡 主题",
"input_mode.custom": "✍️ 自定义内容",
"mode.generate": "💡 生成模式",
"mode.fixed": "📄 固定模式",
"mode.help": "生成模式AI 从主题创作旁白。固定模式:使用现成脚本,不做修改。",
"input.book_name": "书名",
"input.book_name_placeholder": "例如原子习惯、人性的弱点、Atomic Habits",
"input.book_name_help": "输入书名,将自动获取书籍信息并生成视频",
@@ -20,12 +24,17 @@
"input.topic_placeholder": "例如如何增加被动收入、How to build good habits",
"input.topic_help": "输入一个主题AI 将根据主题生成内容",
"input.text": "文本输入",
"input.text_help_generate": "输入主题或话题AI 将创作旁白)",
"input.text_help_fixed": "输入完整的旁白脚本(将被切分成分镜)",
"input.content": "内容",
"input.content_placeholder": "在此输入您的自定义内容...",
"input.content_help": "提供您自己的内容用于视频生成",
"input.title": "标题(可选)",
"input.title_placeholder": "视频标题(留空则自动生成)",
"input.title_help": "可选:自定义视频标题",
"book.search": "🔍 搜索书籍",
"book.searching": "正在搜索书籍...",
@@ -63,9 +72,10 @@
"template.neon": "Neon",
"video.title": "🎬 视频设置",
"video.frames": "数",
"video.frames_help": "更多帧数 = 更长视频",
"video.frames_label": "数:{n}",
"video.frames": "分镜数",
"video.frames_help": "更多分镜 = 更长视频",
"video.frames_label": "分镜数:{n}",
"video.frames_fixed_mode_hint": "💡 固定模式:分镜数由脚本实际段落数决定",
"bgm.title": "🎵 背景音乐",
"bgm.none": "🔇 无背景音乐",
@@ -90,6 +100,7 @@
"status.connection_failed": "❌ 连接失败",
"progress.generating_narrations": "生成旁白...",
"progress.splitting_script": "切分脚本...",
"progress.generating_image_prompts": "生成图片提示词...",
"progress.frame": "分镜 {current}/{total}",
"progress.frame_step": "分镜 {current}/{total} - 步骤 {step}/4: {action}",