新增沉浸故事生成模式,支持原文朗读和智能分段: - 服务端新增generate_podcast_with_story_api函数和专用API端点 - 添加故事模式专用prompt模板(prompt-story-overview.txt和prompt-story-podscript.txt) - 前端新增模式切换UI,支持AI播客和沉浸故事两种模式 - 沉浸故事模式固定消耗30积分,不需要语言和时长参数 - 优化音频静音裁剪逻辑,保留首尾200ms空白提升自然度 - 修复session管理和错误处理,提升系统稳定性 - 新增多语言配置(中英日)支持模式切换文案
21 lines
1.2 KiB
Plaintext
21 lines
1.2 KiB
Plaintext
**1. Metadata Generation**
|
|
|
|
* **Step 1: Intermediate Core Summary Generation (Internal Step)**
|
|
* **Task**: First, generate a core idea summary of approximately 150 characters based *only* on the **[body content]** of the document (ignoring titles and subtitles).
|
|
* **Position**: As the **four line** of the final output.
|
|
|
|
* **Step 2: Title Generation**
|
|
* **Source**: Must be refined from the "core summary" generated in the previous step.
|
|
* **Length**: Strictly controlled to be between 15-20 characters.
|
|
* **Format**: Adopt a "Main Title: Subtitle" structure, using a full-width colon ":" for separation. For example: "Brevity and Precision: Practical Engineering for AI Context".
|
|
* **Position**: As the **first line** of the final output.
|
|
|
|
* **Step 3: Tag Generation**
|
|
* **Source**: Extract from the **[body content]** of the document (ignoring titles and subtitles).
|
|
* **Quantity**: 3 to 5.
|
|
* **Format**: Keywords separated by the "#" symbol (e.g., #Keyword1#Keyword2).
|
|
* **Position**: As the **second line** of the final output.
|
|
|
|
**2. Output Language**
|
|
|
|
* ** Make sure the language of the output content is the original input language **. |