返回顶部
p

podcast-generator播客生成器

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
482
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

podcast-generator

播客生成器

将文章转换为播客脚本+音频。每次使用通过SkillPay收取0.001 USDT。

工作流程

  1. 1. 计费检查 → scripts/billing.py --charge --user-id <用户ID>
  2. 生成脚本 → scripts/generatescript.py --input <文件> --format <单人|对话>
  3. 生成音频 → scripts/generateaudio.py --script <文件> --output podcast.mp3
  4. 查看统计 → scripts/stats.py (新增)

步骤1:计费

bash
SKILLPAYAPIKEY=sk_xxx python3 scripts/billing.py --charge --user-id <用户ID>

  • - success: true → 继续执行
  • needspayment: true → 向用户返回 paymenturl 进行充值

其他命令:

  • - --balance — 查询用户余额
  • --payment-link — 生成充值链接

步骤2:脚本生成

bash
python3 scripts/generate_script.py --input article.txt --format solo --output script.md
python3 scripts/generate_script.py --input article.txt --format dialogue --output script.md

格式:solo(单人主持)或 dialogue(双人A/B对话)。

步骤3:音频生成

bash
python3 scripts/generate_audio.py --script script.md --output podcast.mp3

需要 edge-tts(pip install edge-tts)。主持人A(女声)和主持人B(男声)使用不同音色。若edge-tts不可用,则回退到片段列表模式。

使用统计(新增)

bash
python3 scripts/stats.py # 显示使用统计
python3 scripts/stats.py --action log --title 第1集 --format solo --audio-seconds 120

追踪:总生成次数、音频时长、按格式划分的成本明细。

配置

环境变量必需描述
SKILLPAYAPIKEYSkillPay.me API密钥

脚本模板

详见 references/script-templates.md 了解格式细节和语音选项。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 podcast-generator-1776203141 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 podcast-generator-1776203141 技能

通过命令行安装

skillhub install podcast-generator-1776203141

下载

⬇ 下载 podcast-generator v1.1.0(免费)

文件大小: 8.54 KB | 发布时间: 2026-4-15 11:56

v1.1.0 最新 2026-4-15 11:56
v1.1.0: Added usage statistics tracking

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部