docs: 更新README并添加英文版本
- 为README添加英文版本README_EN.md - 在中文README中添加英文版本链接 - 移除多余的分隔线 - 为示例音频添加HTML音频控件 - 为命令行参数添加默认值
This commit is contained in:
12
README.md
12
README.md
@@ -1,6 +1,7 @@
|
||||
# 🎙️ 简易播客生成器 (Simple Podcast Generator)
|
||||
|
||||
> 轻松将您的想法,一键生成为生动有趣的多人对话播客!
|
||||
> [English Version](README_EN.md)
|
||||
|
||||
这是一个强大的脚本工具,它利用 **OpenAI API** 的智慧生成富有洞察力的播客脚本,并通过 **TTS (Text-to-Speech)** API服务,将冰冷的文字转化为有温度的音频。您只需提供一个主题,剩下的交给它!
|
||||
|
||||
@@ -74,10 +75,6 @@ python podcast_generator.py [可选参数]
|
||||
python podcast_generator.py --api-key sk-xxxxxx --model gpt-4o --threads 4
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
### 4. 自定义 AI 提示词(`custom` 代码块)
|
||||
|
||||
为了提供更细致的 AI 指令或添加特定上下文,您可以在 `input.txt` 文件中嵌入 `custom` 代码块。此代码块中的内容将作为额外指示,被内置到播客脚本生成的核心提示词(`prompt-podscript.txt`)之中,从而影响 AI 的生成行为。
|
||||
@@ -185,16 +182,13 @@ python podcast_generator.py --api-key sk-xxxxxx --model gpt-4o --threads 4
|
||||
|
||||
所有成功生成的播客音频文件将自动保存在 `output/` 目录下。文件名格式为 `podcast_` 加上生成时的时间戳,例如 `podcast_1678886400.wav`。
|
||||
|
||||
---
|
||||
|
||||
---
|
||||
|
||||
## 🎧 示例音频
|
||||
|
||||
您可以在 `example/` 文件夹中找到使用不同 TTS 服务生成的播客示例音频:
|
||||
|
||||
* **Edge TTS 生成示例**: [edgeTTS_podcast_1754467217.aac](example/edgeTTS_podcast_1754467217.aac)
|
||||
* **Index TTS 生成示例**: [indexTTS_podcast_1754467749.aac](example/indexTTS_podcast_1754467749.aac)
|
||||
* **Edge TTS 生成示例**: <audio controls src="example/edgeTTS_podcast_1754467217.aac"></audio>
|
||||
* **Index TTS 生成示例**: <audio controls src="example/indexTTS_podcast_1754467749.aac"></audio>
|
||||
|
||||
这些音频文件展示了本工具在实际应用中的效果。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user