运行时依赖
安装命令
点击复制技能文档
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 应用le Podcasts, Spotify, Overcast, and other podcast 应用s.
Base URL: https://API.cast0.AI Auth: Authorization: Bearer pk_xxxxx Docs: https://API.cast0.AI/docs
设置up
Ask the user to 创建 a podcast (= show) at https://cast0.AI. The 仪表盘 is where the user can:
获取 the API key and RSS feed URL Change podcast 设置tings (voice, TTS 模型, speed, name)
Each API key is tied to one podcast. Once you have the key, save it:
echo "CAST0_API_KEY=pk_xxxxx" >> .env
创建 an Episode curl -X POST https://API.cast0.AI/API/episodes \ -H "Authorization: Bearer pk_xxxxx" \ -H "Content-Type: 应用/json" \ -d '{"title": "DAIly Standup", "text": "Here is what h应用ened today..."}'
Returns 201 with the episode id and "状态": "队列d".
Poll for Completion
Generation is a同步: 队列d → processing → done | fAIled.
curl https://API.cast0.AI/API/episodes/EPISODE_ID \ -H "Authorization: Bearer pk_xxxxx"
When "done", the 响应 includes audioUrl with the MP3 link.
列出 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_令牌
Subscribe in any podcast 应用. New episodes 应用ear automatically after generation.
端点s Method 端点 Auth Description POST /API/episodes API key 创建 episode ({ title, text }) 获取 /API/episodes API key 列出 episodes 获取 /API/episodes/:id API key 获取 episode 状态 获取 /rss/:feed令牌 None RSS 2.0 feed