📽️Create Short
Creates a video short from an existing podcast.
POST
https://api.autocontentapi.com/content/CreateShorts
{
"audioUrl": "string",
"prompt": "string",
"firstAvatarGender": "string",
"callbackData": "string"
}
audioUrl
Link to the .wav or .mp3 file of the podcast. Required
prompt
Optional. Instructions for the AI to know what to look for when choosing the prompt.
firstAvatarGender
Optional. Gender of the person who talks in the first place in your podcast. Default value is "M".
callbackData
Optional. Custom field to include any data you want to get back with the webhook response.
IMPORTANT
The AI will automatically choose a podcast fragment to generate a short, and you can use the "prompt" parameter to influence that decision.
You will soon be able to choose among different avatars. At the moment, the avatars are:


For enterprise customers, custom branding is available. See example:

Sample request
curl -X 'POST' \
'https://api.autocontentapi.com/Content/CreateShorts' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"audioUrl": "https://autocontentapi.com/audio/sample.wav",
"prompt": "Focus on the beginning of the podcast"
}'
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