From ff7e1b42f7086688936b2a527ea681dcd0495388 Mon Sep 17 00:00:00 2001
From: puke <1129090915@qq.com>
Date: Thu, 30 Oct 2025 10:42:36 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4book=E7=9B=B8=E5=85=B3?=
=?UTF-8?q?=E8=A1=A8=E8=BF=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
reelforge/services/narration_generator.py | 2 +-
templates/neon.html | 14 +++++++-------
web/i18n/locales/en_US.json | 22 +---------------------
web/i18n/locales/zh_CN.json | 22 +---------------------
workflows/runninghub/tts_index2.json | 5 +++++
5 files changed, 15 insertions(+), 50 deletions(-)
create mode 100644 workflows/runninghub/tts_index2.json
diff --git a/reelforge/services/narration_generator.py b/reelforge/services/narration_generator.py
index 1d40542..4f9bf57 100644
--- a/reelforge/services/narration_generator.py
+++ b/reelforge/services/narration_generator.py
@@ -68,7 +68,7 @@ class NarrationGeneratorService:
>>> narrations = await service.generate_narrations(
... config=config,
... source_type="content",
- ... content="昨天我读了一本书..."
+ ... content="Today I want to share three useful tips..."
... )
"""
# 1. Build prompt based on source_type
diff --git a/templates/neon.html b/templates/neon.html
index 30f54f6..7109945 100644
--- a/templates/neon.html
+++ b/templates/neon.html
@@ -861,15 +861,15 @@
-
READ · LEARN · GROW
+ CREATE · SHARE · INSPIRE
@@ -925,9 +925,9 @@
ReelForge
- #阅读
- #成长
- #认知升级
+ #AI创作
+ #短视频
+ #内容生产
diff --git a/web/i18n/locales/en_US.json b/web/i18n/locales/en_US.json
index c5f6567..19d5f85 100644
--- a/web/i18n/locales/en_US.json
+++ b/web/i18n/locales/en_US.json
@@ -9,17 +9,12 @@
"section.visual_settings": "🎨 Visual Settings",
"section.video_generation": "🎬 Generate Video",
- "input_mode.book": "📚 Book Name",
"input_mode.topic": "💡 Topic",
"input_mode.custom": "✍️ Custom Content",
"mode.generate": "💡 Generate Mode",
"mode.fixed": "📄 Fixed Mode",
- "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",
-
"input.topic": "Topic",
"input.topic_placeholder": "AI automatically creates specified number of narrations\nExample: How to build passive income, 如何增加被动收入",
"input.topic_help": "Enter a topic, AI will generate content based on it",
@@ -36,17 +31,6 @@
"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...",
- "book.found": "✅ Book found!",
- "book.not_found": "❌ Failed to fetch book: {error}",
- "book.name_required": "Please enter a book name",
-
- "book.title": "Title",
- "book.author": "Author",
- "book.rating": "Rating",
- "book.summary": "📝 Summary",
-
"voice.title": "🎤 Voice Selection",
"voice.male_professional": "🎤 Male-Professional",
"voice.male_young": "🎙️ Male-Young",
@@ -138,7 +122,7 @@
"progress.concatenating": "Concatenating video segments...",
"progress.finalizing": "Finalizing...",
- "error.input_required": "❌ Please provide book name, topic, or content",
+ "error.input_required": "❌ Please provide topic or content",
"error.api_key_required": "❌ Please enter API Key",
"error.missing_field": "Please enter {field}",
@@ -182,10 +166,6 @@
"tts.preview_success": "✅ Preview generated successfully!",
"tts.preview_failed": "❌ Preview failed: {error}",
- "settings.book.title": "📚 Book Information",
- "settings.book.provider": "Provider",
- "settings.book.provider_help": "Select book information source",
-
"welcome.first_time": "🎉 Welcome to ReelForge! Please complete basic configuration",
"welcome.config_hint": "💡 First-time setup requires API Key configuration, you can modify it in advanced settings later",
diff --git a/web/i18n/locales/zh_CN.json b/web/i18n/locales/zh_CN.json
index 360cc52..db3eba7 100644
--- a/web/i18n/locales/zh_CN.json
+++ b/web/i18n/locales/zh_CN.json
@@ -9,17 +9,12 @@
"section.visual_settings": "🎨 画面设置",
"section.video_generation": "🎬 生成视频",
- "input_mode.book": "📚 书名",
"input_mode.topic": "💡 主题",
"input_mode.custom": "✍️ 自定义内容",
"mode.generate": "💡 生成模式",
"mode.fixed": "📄 固定模式",
- "input.book_name": "书名",
- "input.book_name_placeholder": "例如:原子习惯、人性的弱点、Atomic Habits",
- "input.book_name_help": "输入书名,将自动获取书籍信息并生成视频",
-
"input.topic": "主题",
"input.topic_placeholder": "AI 自动创作指定数量的旁白\n例如:如何增加被动收入、How to build passive income",
"input.topic_help": "输入一个主题,AI 将根据主题生成内容",
@@ -36,17 +31,6 @@
"input.title_placeholder": "视频标题(留空则自动生成)",
"input.title_help": "可选:自定义视频标题",
- "book.search": "🔍 搜索书籍",
- "book.searching": "正在搜索书籍...",
- "book.found": "✅ 找到书籍!",
- "book.not_found": "❌ 获取书籍失败:{error}",
- "book.name_required": "请输入书名",
-
- "book.title": "书名",
- "book.author": "作者",
- "book.rating": "评分",
- "book.summary": "📝 简介",
-
"voice.title": "🎤 语音选择",
"voice.male_professional": "🎤 男声-专业",
"voice.male_young": "🎙️ 男声-年轻",
@@ -138,7 +122,7 @@
"progress.concatenating": "拼接视频片段...",
"progress.finalizing": "完成中...",
- "error.input_required": "❌ 请提供书名、主题或内容",
+ "error.input_required": "❌ 请提供主题或内容",
"error.api_key_required": "❌ 请填写 API Key",
"error.missing_field": "请填写 {field}",
@@ -182,10 +166,6 @@
"tts.preview_success": "✅ 预览生成成功!",
"tts.preview_failed": "❌ 预览失败:{error}",
- "settings.book.title": "📚 书籍信息",
- "settings.book.provider": "服务商",
- "settings.book.provider_help": "选择书籍信息来源",
-
"welcome.first_time": "🎉 欢迎使用 ReelForge!请先完成基础配置",
"welcome.config_hint": "💡 首次使用需要配置 API Key,后续可以在高级设置中修改",
diff --git a/workflows/runninghub/tts_index2.json b/workflows/runninghub/tts_index2.json
new file mode 100644
index 0000000..c0fd196
--- /dev/null
+++ b/workflows/runninghub/tts_index2.json
@@ -0,0 +1,5 @@
+{
+ "source": "runninghub",
+ "workflow_id": "1983718528991862786"
+}
+