Skip to content
HALOWERK

Tonwerk

subtitle dual track correspondence

Return temporal overlaps and coverage between two supplied subtitle tracks.

POST https://ton.halowerk.com/v1/subtitle-dual-track-correspondence

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
leftarrayYes
rightarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "left": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "start": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "end": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "text": {
            "type": "string",
            "maxLength": 500,
            "minLength": 1
          }
        },
        "required": [
          "start",
          "end",
          "text"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    },
    "right": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "start": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "end": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "text": {
            "type": "string",
            "maxLength": 500,
            "minLength": 1
          }
        },
        "required": [
          "start",
          "end",
          "text"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "left",
    "right"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "left": [
    {
      "start": 0,
      "end": 2,
      "text": "HALOWERK services are live."
    }
  ],
  "right": [
    {
      "start": 0,
      "end": 1.5,
      "text": "HALOWERK"
    },
    {
      "start": 1.5,
      "end": 3,
      "text": "JSON"
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’