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 Short

Creates a video short from an existing podcast.

PreviousCreate Podcast with a custom scriptNextClone Voice

Last updated 2 months ago

POST

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

{
  "audioUrl": "string",
  "prompt": "string",
  "firstAvatarGender": "string",
  "callbackData": "string"
}

Field
Possible Values

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"
}
Field
Possible Values

request_id

resource.type

Error message when the request is not successful.

Id of the request. You can use it to

🔮
📽️
query its status
Avatar 1
Avatar 2
AutoContent API Branding