Zum Inhalt
HALOWERK

Medienwerk

stt translate

Takes an audio or video file by URL or inline base64 and returns subtitles in the target language with the timing of the original speech. The recording is transcribed with word timestamps, split into subtitle cues at pauses, six seconds or 84 characters, and every cue is translated on its own so that the number and timing of cues stay identical — this is checked on every model answer and a mismatch is retried once and otherwise refused without charge. The answer carries each cue with start,.

POST https://medien.halowerk.com/v1/stt-translate

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.
target_languagestringJaLanguage of the subtitles.
source_languagestringNeinBCP-47 code of the spoken language. Omit to detect it.
max_cue_secondsnumberNein
max_cue_charactersintegerNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "source",
    "duration_minutes",
    "target_language"
  ],
  "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 audio or video file."
        },
        "content_base64": {
          "type": "string",
          "maxLength": 12000000
        },
        "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."
    },
    "target_language": {
      "type": "string",
      "enum": [
        "de",
        "en",
        "es",
        "fr",
        "it",
        "nl",
        "pt",
        "pl",
        "tr",
        "sv",
        "da",
        "cs",
        "ru",
        "uk",
        "ja",
        "zh",
        "ko",
        "ar"
      ],
      "description": "Language of the subtitles."
    },
    "source_language": {
      "type": "string",
      "maxLength": 12,
      "description": "BCP-47 code of the spoken language. Omit to detect it."
    },
    "max_cue_seconds": {
      "type": "number",
      "minimum": 2,
      "maximum": 10,
      "default": 6
    },
    "max_cue_characters": {
      "type": "integer",
      "minimum": 30,
      "maximum": 120,
      "default": 84
    }
  }
}

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 →