> For the complete documentation index, see [llms.txt](https://docs.autocontentapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autocontentapi.com/code-samples/podcasts.md).

# Podcasts

- [Overview](https://docs.autocontentapi.com/code-samples/podcasts/podcast-examples.md): Language-ready code for every podcast scenario recipe, with sample sets in C#, Node.js, Java, PHP and Python and links back to the cURL quick-start.
- [C#](https://docs.autocontentapi.com/code-samples/podcasts/csharp.md): .NET samples that recreate each podcast scenario recipe in C#, from language, duration and style settings to website, PDF, script and feed sources.
- [Create from a Custom Script](https://docs.autocontentapi.com/code-samples/podcasts/csharp/from-custom-script.md): C# HttpClient sample that sends a script with speaker labels to POST /content/CreatePodcastCustomScript to turn your own dialogue into podcast audio.
- [Create from Saved Feeds](https://docs.autocontentapi.com/code-samples/podcasts/csharp/from-feeds.md): C# sample that creates a podcast from saved feed items by sending feedSelections with a feed ID and item IDs to POST /content/Create via HttpClient.
- [Create from a PDF Upload](https://docs.autocontentapi.com/code-samples/podcasts/csharp/from-pdf.md): C# HttpClient sample that sends a base64-encoded PDF as a pdf resource to POST /content/Create and asks for a podcast on its executive summary.
- [Create from Deep Research Results](https://docs.autocontentapi.com/code-samples/podcasts/csharp/from-research.md): C# sample that turns completed deep research into a podcast by passing research IDs in the researches array to POST /content/Create with HttpClient.
- [Create from Raw Text](https://docs.autocontentapi.com/code-samples/podcasts/csharp/from-text.md): C# HttpClient sample that sends your own paragraphs as a text resource to POST /content/Create and turns the memo into a conversational podcast segment.
- [Create from a Topic Prompt](https://docs.autocontentapi.com/code-samples/podcasts/csharp/from-topic.md): C# sample that creates a podcast from a topic alone, sending topic and text fields to POST /content/Create with HttpClient and no source resources.
- [Create from a Website](https://docs.autocontentapi.com/code-samples/podcasts/csharp/from-website.md): C# HttpClient sample that sends a web page URL as a website resource to POST /content/Create and asks for a podcast for small business owners.
- [Create from a YouTube Video](https://docs.autocontentapi.com/code-samples/podcasts/csharp/from-youtube.md): C# sample that sends a YouTube watch URL as a youtube resource to POST /content/Create with HttpClient to make a podcast of the video's top lessons.
- [Set Podcast Duration](https://docs.autocontentapi.com/code-samples/podcasts/csharp/set-duration.md): C# HttpClient sample that adds the duration field set to short to a POST /content/Create podcast request with a video source and plain-language instructions.
- [Set Podcast Language](https://docs.autocontentapi.com/code-samples/podcasts/csharp/set-language.md): C# sample that sets the podcast narration language with the language field, English here, in a POST /content/Create request sent with HttpClient.
- [Set Podcast Style](https://docs.autocontentapi.com/code-samples/podcasts/csharp/set-style.md): C# HttpClient sample that sets the podcast style field to brief and sends a text resource about a product launch to POST /content/Create.
- [Use One Custom Voice](https://docs.autocontentapi.com/code-samples/podcasts/csharp/single-custom-voice.md): C# sample that makes a solo-host podcast with POST /content/CreatePodcastCustomVoices, sending only voice1 with a text resource via HttpClient.
- [Node.js](https://docs.autocontentapi.com/code-samples/podcasts/nodejs.md): Node.js snippets that mirror the podcast scenario recipes, covering language, duration, style, one custom voice and each source type in the guide.
- [Create from a Custom Script](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/from-custom-script.md): Turn a finished dialogue into podcast audio from Node.js. This fetch example posts a speaker-labelled script to /content/CreatePodcastCustomScript.
- [Create from Saved Feeds](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/from-feeds.md): Node.js fetch example that asks for a podcast summary of selected feed items, passing feedSelections with feedId and feedItemIds to /content/Create.
- [Create from a PDF Upload](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/from-pdf.md): Create a podcast from a PDF in Node.js. The fetch request carries the base64 file content in a pdf resource with instructions to cite supporting stats.
- [Create from Deep Research Results](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/from-research.md): Node.js fetch snippet that sends a researches array to /content/Create and asks for a podcast that presents the findings and recommends next steps.
- [Create from Raw Text](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/from-text.md): Node.js fetch example that posts raw text as a text resource and asks the API to transform the memo into a conversational podcast segment.
- [Create from a Topic Prompt](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/from-topic.md): Node.js fetch example that asks for a podcast on remote team productivity by sending only a topic and an angle in the text field to /content/Create.
- [Create from a Website](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/from-website.md): Create a podcast from a web page in Node.js. The fetch request sends the URL as a website resource with instructions on long-term implications.
- [Create from a YouTube Video](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/from-youtube.md): Node.js fetch example that turns a YouTube video into a podcast, posting the watch URL as a youtube resource with a request for quotes and lessons.
- [Set Podcast Duration](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/set-duration.md): Node.js fetch example that controls podcast length by sending the duration field set to short with a video link and summary instructions.
- [Set Podcast Language](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/set-language.md): Node.js fetch example that adds a language field to a podcast request built from a website resource, asking for the most actionable takeaways.
- [Set Podcast Style](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/set-style.md): Node.js fetch example that picks the brief podcast style and asks the API to turn a product update into an engaging episode intro.
- [Use One Custom Voice](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/single-custom-voice.md): Node.js fetch example that calls /content/CreatePodcastCustomVoices with a single voice1 ID to record a solo host update in a warm tone.
- [Java](https://docs.autocontentapi.com/code-samples/podcasts/java.md): Java snippets to compile and run for each podcast scenario recipe, including custom voice, raw text, PDF upload, topic prompt and deep research inputs.
- [Create from a Custom Script](https://docs.autocontentapi.com/code-samples/podcasts/java/from-custom-script.md): Java program that uses java.net.http to submit a speaker-labelled podcast script to /content/CreatePodcastCustomScript and print the accepted request.
- [Create from Saved Feeds](https://docs.autocontentapi.com/code-samples/podcasts/java/from-feeds.md): Generate a podcast from saved feed posts in Java. The java.net.http request sends feedSelections and asks for a summary with actionable advice.
- [Create from a PDF Upload](https://docs.autocontentapi.com/code-samples/podcasts/java/from-pdf.md): Java program that posts a base64 PDF as a pdf resource with java.net.http, asking for a podcast that summarizes the document and cites its stats.
- [Create from Deep Research Results](https://docs.autocontentapi.com/code-samples/podcasts/java/from-research.md): Create a podcast episode from deep research results in Java, sending research IDs in the researches field with the java.net.http HttpClient.
- [Create from Raw Text](https://docs.autocontentapi.com/code-samples/podcasts/java/from-text.md): Java program that sends pasted text in a text resource with java.net.http to create a podcast segment from a memo, then prints the response.
- [Create from a Topic Prompt](https://docs.autocontentapi.com/code-samples/podcasts/java/from-topic.md): Java program that requests a podcast from a topic prompt with java.net.http, using the text field to focus the episode on tactics for hybrid startups.
- [Create from a Website](https://docs.autocontentapi.com/code-samples/podcasts/java/from-website.md): Java program that turns a market report web page into a podcast by posting it as a website resource to /content/Create with java.net.http.
- [Create from a YouTube Video](https://docs.autocontentapi.com/code-samples/podcasts/java/from-youtube.md): Java program that creates a podcast from a YouTube video with java.net.http, sending its watch URL as a youtube resource to /content/Create.
- [Set Podcast Duration](https://docs.autocontentapi.com/code-samples/podcasts/java/set-duration.md): Java program that requests a short podcast by setting the duration field in its java.net.http POST to /content/Create, then prints the response.
- [Set Podcast Language](https://docs.autocontentapi.com/code-samples/podcasts/java/set-language.md): Java program that chooses the podcast language with java.net.http, sending language, a website resource and instructions to /content/Create.
- [Set Podcast Style](https://docs.autocontentapi.com/code-samples/podcasts/java/set-style.md): Java program that sends style brief with a text resource through java.net.http to change the format of the generated podcast episode.
- [Use One Custom Voice](https://docs.autocontentapi.com/code-samples/podcasts/java/single-custom-voice.md): Java program that creates a single-speaker podcast with java.net.http by sending one voice ID in voice1 to /content/CreatePodcastCustomVoices.
- [PHP](https://docs.autocontentapi.com/code-samples/podcasts/php.md): PHP snippets that mirror the podcast scenario recipes, with links to set language, duration and style or create episodes from websites, text and feeds.
- [Create from a Custom Script](https://docs.autocontentapi.com/code-samples/podcasts/php/from-custom-script.md): PHP cURL script that posts a podcast script with speaker labels to /content/CreatePodcastCustomScript and prints the response or the HTTP error.
- [Create from Saved Feeds](https://docs.autocontentapi.com/code-samples/podcasts/php/from-feeds.md): PHP cURL example that builds a feedSelections payload with a feed ID and chosen item IDs, then requests a podcast episode from /content/Create.
- [Create from a PDF Upload](https://docs.autocontentapi.com/code-samples/podcasts/php/from-pdf.md): PHP cURL script that sends your PDF as base64 content in a pdf resource to /content/Create and requests a podcast that cites supporting stats.
- [Create from Deep Research Results](https://docs.autocontentapi.com/code-samples/podcasts/php/from-research.md): PHP cURL example that requests a podcast from existing deep research runs by listing their IDs in researches and asking it to recommend next steps.
- [Create from Raw Text](https://docs.autocontentapi.com/code-samples/podcasts/php/from-text.md): PHP cURL script that creates a podcast from raw text. It sends the paragraphs as a text resource with instructions for a conversational segment.
- [Create from a Topic Prompt](https://docs.autocontentapi.com/code-samples/podcasts/php/from-topic.md): PHP cURL script that sends a topic and short instructions to /content/Create, so the podcast episode is built without any source files.
- [Create from a Website](https://docs.autocontentapi.com/code-samples/podcasts/php/from-website.md): PHP cURL example that requests a podcast from a website resource, sending the page URL and text instructions to /content/Create with your token.
- [Create from a YouTube Video](https://docs.autocontentapi.com/code-samples/podcasts/php/from-youtube.md): PHP cURL script that requests a podcast about a YouTube video by sending the watch URL as a youtube resource and asking for relevant quotes.
- [Set Podcast Duration](https://docs.autocontentapi.com/code-samples/podcasts/php/set-duration.md): PHP cURL script that sets the podcast duration preset to short in the payload and asks for the key arguments of the source in plain language.
- [Set Podcast Language](https://docs.autocontentapi.com/code-samples/podcasts/php/set-language.md): PHP cURL script that sets language in a podcast payload with a website source, so the episode is narrated in the language you choose.
- [Set Podcast Style](https://docs.autocontentapi.com/code-samples/podcasts/php/set-style.md): PHP cURL script that adds a style preset to a podcast request and turns community feedback on a product launch into an episode intro.
- [Use One Custom Voice](https://docs.autocontentapi.com/code-samples/podcasts/php/single-custom-voice.md): PHP cURL script that requests a solo podcast from /content/CreatePodcastCustomVoices by passing a numeric voice1 ID and a weekly highlights text.
- [Python](https://docs.autocontentapi.com/code-samples/podcasts/python.md): Python requests samples matching the podcast scenario recipes, from setting the language and style to creating episodes from a custom script or saved feeds.
- [Create from a Custom Script](https://docs.autocontentapi.com/code-samples/podcasts/python/from-custom-script.md): Create podcast audio from your own speaker-labelled script with Python requests, posting it to /content/CreatePodcastCustomScript with your API token.
- [Create from Saved Feeds](https://docs.autocontentapi.com/code-samples/podcasts/python/from-feeds.md): Python requests snippet that turns selected items from a saved feed into a podcast by posting feedSelections to /content/Create with your token.
- [Create from a PDF Upload](https://docs.autocontentapi.com/code-samples/podcasts/python/from-pdf.md): Python requests example that sends a PDF as base64 in a pdf resource and asks /content/Create for a podcast that focuses on the executive summary.
- [Create from Deep Research Results](https://docs.autocontentapi.com/code-samples/podcasts/python/from-research.md): Python requests script that posts research IDs in the researches array to /content/Create so the findings become a narrated podcast episode.
- [Create from Raw Text](https://docs.autocontentapi.com/code-samples/podcasts/python/from-text.md): Python requests snippet that turns raw paragraphs into a podcast by posting them as a text resource to /content/Create with your API token.
- [Create from a Topic Prompt](https://docs.autocontentapi.com/code-samples/podcasts/python/from-topic.md): Python requests snippet that creates a podcast from a topic prompt, posting topic and text fields with outputType audio and printing the response.
- [Create from a Website](https://docs.autocontentapi.com/code-samples/podcasts/python/from-website.md): Python requests script that posts a web page URL as a website resource with outputType audio to make a podcast that explains its implications.
- [Create from a YouTube Video](https://docs.autocontentapi.com/code-samples/podcasts/python/from-youtube.md): Python requests snippet that posts a YouTube watch URL in a youtube resource to /content/Create and asks for a podcast with the top lessons.
- [Set Podcast Duration](https://docs.autocontentapi.com/code-samples/podcasts/python/set-duration.md): Python requests snippet that passes duration short with outputType audio to /content/Create to set the length of the generated podcast.
- [Set Podcast Language](https://docs.autocontentapi.com/code-samples/podcasts/python/set-language.md): Python requests snippet that posts a podcast request with the language field set to English and a website resource about AI trends.
- [Set Podcast Style](https://docs.autocontentapi.com/code-samples/podcasts/python/set-style.md): Python requests snippet that posts outputType audio with style set to brief, a text resource and instructions for an engaging episode intro.
- [Use One Custom Voice](https://docs.autocontentapi.com/code-samples/podcasts/python/single-custom-voice.md): Python requests snippet that posts voice1 and no voice2 to /content/CreatePodcastCustomVoices for a solo host update with a confident tone.
