Zum Inhalt
HALOWERK

Medienwerk

chapter split

Takes an audio or video file of up to 60 minutes and a list of chapters with start time and title (e.g. from podcast show notes or topic segmentation) and returns one audio file per chapter, from its start to the next chapter's start, cut exactly by re-encoding. Up to 50 chapters; if all files together exceed 8 MB, Opus at a lower bitrate is suggested. Each file carries its title and duration. Runs locally with ffmpeg; nothing leaves this machine. Billing per started audio minute.

POST https://medien.halowerk.com/v1/chapter-split

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
sourceobjectJaThe recording. Either url or content_base64.
duration_minutesintegerJaLength in started minutes — this is what you are billed for.
chaptersarrayJa
output_formatstringNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source",
    "duration_minutes",
    "chapters"
  ],
  "additionalProperties": false,
  "properties": {
    "source": {
      "type": "object",
      "additionalProperties": false,
      "description": "The recording. Either url or content_base64.",
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2048,
          "description": "Public http(s) URL of the file."
        },
        "content_base64": {
          "type": "string",
          "maxLength": 12000000,
          "description": "The file inline, base64. Larger files by url."
        },
        "filename": {
          "type": "string",
          "maxLength": 260
        }
      }
    },
    "duration_minutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 60,
      "description": "Length in started minutes — this is what you are billed for."
    },
    "chapters": {
      "type": "array",
      "minItems": 1,
      "maxItems": 50,
      "items": {
        "type": "object",
        "required": [
          "start"
        ],
        "additionalProperties": false,
        "properties": {
          "start": {
            "type": "number",
            "minimum": 0
          },
          "title": {
            "type": "string",
            "maxLength": 120
          }
        }
      }
    },
    "output_format": {
      "type": "string",
      "enum": [
        "mp3",
        "opus"
      ],
      "default": "mp3"
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →