🪄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"
}
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
Voice ID of the first AI host. Required. See available voices here. You can also clone your own voices here.
voice2
Voice ID of the second AI host. Required. See available voices here. You can also clone your own voices here.
text
Custom instructions shared with the AI hosts to direct the podcast.
callbackData
Optional. Contains any custom data that you want to receive with the Get Status response or via webhook
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"
}
request_id
Id of the request. You can use it to query its status
resource.type
Error message when the request is not successful.
Last updated