Skip to content
HALOWERK

Text Tools

webvtt clip and rebase window

Subtitle clipping returns a WebVTT excerpt with cue boundaries clipped and rebased to the selected window. Use it when an agent needs to subtitle an extracted media segment.

POST https://text.halowerk.com/v1/webvtt-clip-and-rebase-window

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
start_msintegerYes
end_msintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 28000,
      "minLength": 1
    },
    "start_ms": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9000000000
    },
    "end_ms": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9000000000
    }
  },
  "required": [
    "text",
    "start_ms",
    "end_ms"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "WEBVTT\n\n1\n00:00:00.320 --> 00:00:02.480\nHello. Your request is ready.\n",
  "start_ms": 500,
  "end_ms": 1500
}

Result & documentation

Machine-readable documentation of this hub

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

More endpoints in this hub

All endpoints in this hub →