Zum Inhalt
HALOWERK

Medienwerk

forced align

Takes an audio or video file and the text spoken in it, and returns your text with timings: every word with start and end, every line with start and end, and ready SRT, WebVTT and LRC (karaoke/lyrics) files built from your own lines, so your spelling, punctuation and line breaks are kept. The recording is transcribed with word timestamps and your words are laid onto the recognised words by global sequence alignment. Each word is marked matched, substituted (heard differently at that.

POST https://medien.halowerk.com/v1/forced-align

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.
textstringJaThe text spoken in the recording. Line breaks define the lines of the SRT, VTT and LRC output.
languagestringNeinBCP-47 code of the spoken language. Strongly recommended.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source",
    "duration_minutes",
    "text"
  ],
  "additionalProperties": false,
  "properties": {
    "source": {
      "type": "object",
      "additionalProperties": false,
      "description": "The recording. Either url or content_base64.",
      "properties": {
        "url": {
          "type": "string",
          "maxLength": 2048
        },
        "content_base64": {
          "type": "string",
          "maxLength": 11000000
        },
        "filename": {
          "type": "string",
          "maxLength": 260
        }
      }
    },
    "duration_minutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 30,
      "description": "Length in started minutes — this is what you are billed for."
    },
    "text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 60000,
      "description": "The text spoken in the recording. Line breaks define the lines of the SRT, VTT and LRC output."
    },
    "language": {
      "type": "string",
      "maxLength": 12,
      "description": "BCP-47 code of the spoken language. Strongly recommended."
    }
  }
}

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 →