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 custom voices

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

POST

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

{
  "resources": [
    {
      "content": "string",
      "type": "string"
    }
  ],
  "text": "string",
  "voice1": "string",
  "voice2": "string"
  "callbackData": "string"
}
Field
Possible Values

resource.content

  • Website link (i.e: "https://resourcewebsite.com")

  • Plain text ("This is the resource text")

  • File content in base64 when resource.type is set to pdf

resource.type

  • text

  • youtube

  • website

  • pdf

voice1

voice2

text

Custom instructions shared with the AI hosts to direct the podcast.

callbackData

Sample request

curl -X 'POST'
  'https://api.autocontentapi.com/Content/CreatePodcastCustomVoices'
  -H 'accept: text/plain'
  -H 'Authorization: Bearer YOUR_TOKEN_HERE'
  -H 'Content-Type: application/json'
  -d '{
  "resources": [
        {
          "content": "https://autocontentapi.com",
          "type": "website"
        },
        {
          "content": "74% of businesses expect AI to increase productivity",
          "type": "text"
        }
  ],
  "voice1": 144,
  "voice2": 142,
  "text": "Start the podcast mentioning how awesome AutoContent API is"
}'

Response

{
    "request_id": "string",
    "error_message": "string"
}
Field
Possible Values

request_id

resource.type

Error message when the request is not successful.

PreviousModify PodcastNextCreate Podcast with a custom script

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

Id of the request. You can use it to

🔮
🪄
See available voices here
See available voices here
Get Status
via webhook
query its status