refactor: simplify podcast-generation to use direct JSON script input

- Remove LLM script generation from Python script, model now generates
  JSON script directly (similar to image-generation skill)
- Add --transcript-file option to generate markdown transcript
- Add optional "title" field in JSON for transcript heading
- Remove dependency on OPENAI_API_KEY for podcast generation
- Update SKILL.md with new workflow and JSON format documentation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hetao
2026-01-26 14:01:48 +08:00
parent 9f5658fa0e
commit dddd745b5b
3 changed files with 142 additions and 205 deletions

View File

@@ -49,9 +49,9 @@ This is commonly used in signup flows, admin dashboards, or when importing users
```bash
python /mnt/skills/public/podcast-generation/scripts/generate.py \
--input-file /mnt/user-data/workspace/tech-content.md \
--script-file /mnt/user-data/workspace/tech-explainer-script.json \
--output-file /mnt/user-data/outputs/tech-explainer-podcast.mp3 \
--locale en
--transcript-file /mnt/user-data/outputs/tech-explainer-transcript.md
```
## Tips for Technical Podcasts