AutoContent API
  • Getting started
  • 🔮API Docs
    • 🪄Create Content
    • ♻️Modify Podcast
    • 🪄Create Podcast with custom voices
    • 🪄Create Podcast with a custom script
    • 📽️Create Short
    • 🗣️Clone Voice
    • 🧑‍🤝‍🧑Get Voices
    • 📃Get Transcript
    • 🧑‍🤝‍🧑Separate Speakers Voices
    • ⚙️Get Status
    • 📖List content
    • ⚡Webhook
    • 📈Usage
    • Error codes
  • 🪙Credits
  • 📖Code Samples
    • NodeJS
    • Python
    • C#
    • PHP
  • 🌎Languages
  • 🗣️Voices
  • ❓FAQ
  • 🔌Open API
  • ⚒️Test it
  • 💳Billing
  • Support
Powered by GitBook
On this page
  • POST
  • Response
  1. API Docs

Create Podcast with a custom script

Creates a a new podcast based on the given script with the chosen voices.

POST

https://api.autocontentapi.com/content/CreatePodcastCustomScript

{
  "script": "string", //See details below
  "voice1": "string",
  "voice2": "string"
  "callbackData": "string"
}
Field
Possible Values

voice1

voice2

script

Text in the following format: SPEAKER_00: Hello SPEAKER_01: Hi, how are you? SPEAKER_00: I am doing well, thanks! SPEAKER_01: Glad to hear that. Lets get started. Requirements: - Speaker labels are always SPEAKER_00 and SPEAKER_01. - One row per speaker

callbackData

Sample request

curl -X 'POST'
  'https://api.autocontentapi.com/Content/CreatePodcastCustomScript'
  -H 'accept: text/plain'
  -H 'Authorization: Bearer YOUR_TOKEN_HERE'
  -H 'Content-Type: application/json'
  -d '{
    "voice1": 144,
    "voice2": 142,
    "script": "SPEAKER_00: Hello\nSPEAKER_01: Hi, how are you?\nSPEAKER_00: I am doing well, thanks!\nSPEAKER_01: Glad to hear that. Lets get started."
  }'

Response

{
    "request_id": "string",
    "error_message": "string"
}

PreviousCreate Podcast with custom voicesNextCreate Short

Last updated 1 month ago

Voice ID of the first AI host. Required. . You can also clone your own voices here.

Voice ID of the second AI host. Required. . You can also clone your own voices here.

Optional. Contains any custom data that you want to receive with the response or

🔮
🪄
See available voices here
See available voices here
Get Status
via webhook