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 conversational podcast scripts, (2) Generate TTS audio from scripts, (3) Create single-host or two-host dialogue episodes. Integrates SkillPay.me billing at 0.001 USDT per call.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "podcast-generator" with this command: npx skills add elevo11/podcast-generator

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Wangdongjie Cfo Skill

基于王东杰26年实战经验,提供A+H双市场IPO操盘、资本杠杆设计、业财融合和AI数字化风控咨询。

Registry SourceRecently Updated
General

Hk Stock Morning Report

Generate HK stock market morning report (股市晨報) for Chinese bank trading desk. Use when user asks "生成晨报", "股市晨报", "今日股市", "港股晨報", or any similar HK stock mark...

Registry SourceRecently Updated
General

Nansen Mpp Payment

Pay-per-call access to the Nansen API via MPP (Tempo). Use when a user wants anonymous Nansen access without an API key and without managing their own Base/S...

Registry SourceRecently Updated
General

Etsy Autolist

Auto-create and manage digital product listings on Etsy. Creates listings from existing digital product files (PDFs, templates, spreadsheets) using Etsy Open...

Registry SourceRecently Updated