> 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/quick-start/podcasts/from-custom-script.md).

# Create from a Custom Script

Turn a finished script with speaker labels into podcast audio with POST /content/CreatePodcastCustomScript, which keeps your dialogue intact.

Use the dedicated endpoint when you already have a full script marked with speaker labels (`SPEAKER_00`, `SPEAKER_01`, ...).

```bash
curl -X POST "https://api.autocontentapi.com/content/CreatePodcastCustomScript" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outputType": "audio",
    "script": "SPEAKER_00: Welcome back!\nSPEAKER_01: Today we dig into productivity hacks..."
  }'
```

**Tips**

* The service keeps your dialogue intact and focuses on delivery.
* Provide two or more voices if you want distinct hosts, or let defaults handle it.

## Try it in code

* [C#](https://docs.autocontentapi.com/code-samples/podcasts/csharp/from-custom-script.md)
* [Node.js](https://docs.autocontentapi.com/code-samples/podcasts/nodejs/from-custom-script.md)
* [Java](https://docs.autocontentapi.com/code-samples/podcasts/java/from-custom-script.md)
* [PHP](https://docs.autocontentapi.com/code-samples/podcasts/php/from-custom-script.md)
* [Python](https://docs.autocontentapi.com/code-samples/podcasts/python/from-custom-script.md)
