Build with the Podfeed API
Access the same AI pipeline that powers Podfeed's UI. Generate podcast-style audio from text, URLs, files, topics, YouTube videos, and more.
API request and response example
POST /api/v1/audios HTTP/1.1
x-api-key: <API_KEY>
Content-Type: application/json
{
"inputType": "url",
"mode": "dialogue",
"websiteUrl": "https://podfeed.ai",
"hostVoice": "gemini-archird",
"coHostVoice": "gemini-achernar",
"language": "en-US",
"level": "intermediate",
"length": "medium",
"userInstructions": "Prioritize the sections on onboarding and pricing."
}
// 202 Accepted
{
"task_id": "task_3a8…",
"status": "processing"
}What you can build
The API exposes the same capabilities as the app: content ingestion, AI script generation, and natural TTS output.
Same backend as UI
Full feature parity with the Podfeed app's generation pipeline.
Monologue or dialogue
Pick single voice or two-voice dialogue with host and co-host.
Multiple voice providers
Choose voices from Google, ElevenLabs, OpenAI and more.
Multiple input types
Text, URLs, PDFs, files, topics (research), YouTube, and podcast episode URLs.
Autonomous research
Provide a topic; the API researches and generates a comprehensive episode.
Quick start (Python)
Install the SDK, set PODFEED_API_KEY, and create your first audio.
pip install podfeed-sdkexport PODFEED_API_KEY="your-api-key-here"
from podfeed import (PodfeedClient,AudioGenerationRequest,InputContent,VoiceConfig,ContentConfig,)client = PodfeedClient() # uses PODFEED_API_KEY env vartask = client.generate_audio(request=AudioGenerationRequest(input_type="url",mode="dialogue",input_content=InputContent(url="https://podfeed.ai/faq"),voice_config=VoiceConfig(host_voice="gemini-puck", cohost_voice="gemini-achird"),content_config=ContentConfig(level="intermediate",length="medium",language="en-US",),))result = client.wait_for_completion(task["task_id"]) # blocks until doneprint(result["result"]["audio_url"])
For more examples, see podfeed-sdk-samples.
API Reference
Complete endpoint reference for the Podfeed REST API. All requests require an API key sent via the x-api-key header.
Authentication
Include your API key in every request using the x-api-key header. You can get a key from your Podfeed dashboard.
x-api-key: your-api-key-here
Base URL: https://api.podfeed.ai
Endpoints
Click an endpoint to see request and response details.
Start an audio generation task from text, URL, file, topic, script, or combined sources.
Poll the status of a generation task. Returns progress and result when complete.
List all generated audio for the authenticated user.
Get metadata for a specific audio (URL, title, transcript, duration, etc.).
Permanently delete a generated audio.
Get all available voices grouped by language, with provider and cost info.
Create a new podcast feed for organizing episodes.
List all podcast feeds for the authenticated user.
Get feed details including episodes and RSS URL.
Add a generated audio to a feed as a podcast episode.
Generate a public share link for an audio.
Request signed upload URLs for file-based generation (PDF, audio, video).
Supported Input Types
The generate endpoint accepts these input types. Use content_type="sources" to combine up to 10 inputs in a single request.
urlWebsite, YouTube video, Apple Podcast, or Spotify episode URL.
textPlain text or long-form content to convert into audio.
topicA topic string — the API will research it autonomously before generating.
scriptYour own script. Dialogue: alternate HOST:/COHOST: lines. Monologue: plain text.
fileUpload PDF, audio, or video files via signed URLs.
sourcesCombine up to 10 URLs, text blocks, and files in one request.
Error Codes
| Code | Meaning |
|---|---|
400 | Bad Request — invalid parameters or missing required fields. |
401 | Unauthorized — missing or invalid API key. |
403 | Forbidden — insufficient credits or feature not available on your plan. |
404 | Not Found — the requested resource does not exist. |
429 | Too Many Requests — rate limit exceeded. Retry with exponential backoff. |
500 | Internal Server Error — something went wrong on our end. Retry or contact support. |
PRICING
API Pricing
Credits-based pricing. Same credit model as the UI. Detailed usage tiers coming soon.