← 返回
内容创作 Key 中文

Podcast Generator

Convert articles, blog posts, or any text into professional podcast scripts and TTS audio. Use when a user wants to: (1) Transform written content into conve...
将文章、博客或任意文本转换为专业播客脚本及TTS音频。适用于用户希望:(1) 将书面内容转化为...
elevo11
内容创作 clawhub v1.1.0 1 版本 99781.2 Key: 需要
★ 2
Stars
📥 872
下载
💾 15
安装
1
版本
#latest

概述

Podcast Generator

Converts articles into podcast scripts + audio. Charges 0.001 USDT per use via SkillPay.

Workflow

1. Billing check  →  scripts/billing.py --charge --user-id <id>
2. Generate script →  scripts/generate_script.py --input <file> --format <solo|dialogue>
3. Generate audio  →  scripts/generate_audio.py --script <file> --output podcast.mp3
4. View stats     →  scripts/stats.py (NEW)

Step 1: Billing

SKILLPAY_API_KEY=sk_xxx python3 scripts/billing.py --charge --user-id <user_id>
  • success: true → proceed
  • needs_payment: true → return payment_url to user for top-up

Other commands:

  • --balance — check user balance
  • --payment-link — generate top-up link

Step 2: Script Generation

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

Formats: solo (single host) or dialogue (two hosts A/B with conversation).

Step 3: Audio Generation

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

Requires edge-tts (pip install edge-tts). Uses different voices for Host A (female) and Host B (male). Falls back to segment list if edge-tts unavailable.

Usage Statistics (NEW)

python3 scripts/stats.py  # Show usage stats
python3 scripts/stats.py --action log --title "Episode 1" --format solo --audio-seconds 120

Tracks: total generations, audio duration, cost breakdown by format.

Config

Env VarRequiredDescription
:---:---::---
SKILLPAY_API_KEYYesSkillPay.me API key

Script Templates

See references/script-templates.md for format details and voice options.

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-30 11:34 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,246
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 294 📥 136,396
data-analysis

Finance Radar

elevo11
基于雅虎财经数据的股票和加密货币分析。适用于用户需要:(1) 分析股票或加密货币的价格/基本面,(2) 追踪投资...
★ 3 📥 5,891