360 Secure SkillHub
360 安全技能中心

text-to-published-podcast-rss-test

将文本逐字朗读生成播客剧集:先创建剧集(异步 queued/processing/done),轮询获取 MP3 链接,剧集自动出现在公开 RSS 源中,可在播客应用订阅。每个 API 密钥绑定一个播客,需先在服务端创建播客并配置语音等设置。

cast0
cast0
热度 16.02
最近更新 2026-05-16 18:36:48
分类:创作依赖:第三方 API / 代码执行 / 读写文件应用场景:API 集成 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add text-to-published-podcast-rss-test
Metadata
name
text-to-published-podcast-rss
description
Helps an agent or app to turn text into audio podcast episodes. One API call creates an episode using TTS and auto-publish to an RSS feed subscribable in any podcast app.

Text to Published Podcast RSS - cast0 API

Text in, podcast episode out. The text field is read verbatim by TTS, not interpreted as a prompt. Episodes auto-publish to an RSS feed compatible with Apple Podcasts, Spotify, Overcast, and other podcast apps.

Base URL: https://api.cast0.ai Auth: Authorization: Bearer pk_xxxxx Docs: https://api.cast0.ai/docs

Setup

Ask the user to create a podcast (= show) at https://cast0.ai. The dashboard is where the user can:

  • Get the API key and RSS feed URL
  • Change podcast settings (voice, TTS model, speed, name)

Each API key is tied to one podcast. Once you have the key, save it:

echo "CAST0_API_KEY=pk_xxxxx" >> .env

Create an Episode

curl -X POST https://api.cast0.ai/api/episodes \
  -H "Authorization: Bearer pk_xxxxx" \
  -H "Content-Type: application/json" \
  -d '{"title": "Daily Standup", "text": "Here is what happened today..."}'

Returns 201 with the episode id and "status": "queued".

Poll for Completion

Generation is async: queued → processing → done | failed.

curl https://api.cast0.ai/api/episodes/EPISODE_ID \
  -H "Authorization: Bearer pk_xxxxx"

When "done", the response includes audioUrl with the MP3 link.

List Episodes

curl https://api.cast0.ai/api/episodes \
  -H "Authorization: Bearer pk_xxxxx"

RSS Feed

Every podcast has a public feed URL (no auth):

https://api.cast0.ai/rss/FEED_TOKEN

Subscribe in any podcast app. New episodes appear automatically after generation.

Endpoints

Method Endpoint Auth Description
POST /api/episodes API key Create episode ({ title, text })
GET /api/episodes API key List episodes
GET /api/episodes/:id API key Get episode status
GET /rss/:feedToken None RSS 2.0 feed