For the complete documentation index, see llms.txt. This page is also available as Markdown.

Set Podcast Duration

Control the target length of the generated episode by sending duration. The service supports short, default, and long presets.

curl -X POST "https://api.autocontentapi.com/content/Create" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outputType": "audio",
    "resources": [
      { "type": "youtube", "content": "https://www.youtube.com/watch?v=dQw4w9WgXcQ" }
    ],
    "text": "Summarize the key arguments in plain language.",
    "duration": "short"
  }'

Key fields

  • duration: One of short, default, or long.

  • resources: Combine any supported source types; YouTube is shown here.

  • text: Use instructions to steer tone or focus.

Try it in code

Last updated