Tonwerk
transcript compare
Both transcripts (plain text or timed segments) are split into words, normalised per options (NFKC, case folding, punctuation removed) and aligned with a word-level Levenshtein alignment. Consecutive non-matching words form one difference region with the text of A, the text of B, kind (replaced, only_in_a, only_in_b), word positions, times (from segment times, interpolated by character position), surrounding context and flags for numbers and pure formatting differences. Symmetric: no side is.
POST https://ton.halowerk.com/v1/transcript-compareInputs
| Field | Type | Required | Description |
|---|---|---|---|
| a | See schema | Yes | Transcript as plain text or as timed segments [{start, end, text}] in seconds. |
| b | See schema | Yes | Transcript as plain text or as timed segments [{start, end, text}] in seconds. |
| ignore_case | boolean | No | Treat upper and lower case as equal. |
| ignore_punctuation | boolean | No | Ignore punctuation characters. |
| context_words | integer | No | Words of context shown around each difference. |
| max_differences | integer | No | Most difference regions listed. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"a",
"b"
],
"properties": {
"a": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60000
},
{
"type": "array",
"minItems": 1,
"maxItems": 5000,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"start",
"end",
"text"
],
"properties": {
"start": {
"type": "number",
"minimum": 0
},
"end": {
"type": "number",
"minimum": 0
},
"text": {
"type": "string",
"maxLength": 2000
}
}
}
}
],
"description": "Transcript as plain text or as timed segments [{start, end, text}] in seconds."
},
"b": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 60000
},
{
"type": "array",
"minItems": 1,
"maxItems": 5000,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"start",
"end",
"text"
],
"properties": {
"start": {
"type": "number",
"minimum": 0
},
"end": {
"type": "number",
"minimum": 0
},
"text": {
"type": "string",
"maxLength": 2000
}
}
}
}
],
"description": "Transcript as plain text or as timed segments [{start, end, text}] in seconds."
},
"ignore_case": {
"type": "boolean",
"default": true,
"description": "Treat upper and lower case as equal."
},
"ignore_punctuation": {
"type": "boolean",
"default": true,
"description": "Ignore punctuation characters."
},
"context_words": {
"type": "integer",
"minimum": 0,
"maximum": 10,
"default": 3,
"description": "Words of context shown around each difference."
},
"max_differences": {
"type": "integer",
"minimum": 1,
"maximum": 500,
"default": 100,
"description": "Most difference regions listed."
}
}
}Published input example
{
"a": "The meeting starts at nine tomorrow.",
"b": "the meeting starts at 9 tomorrow"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Tonwerk0.01 USDC
accessible transcript html
POSThttps://ton.halowerk.com/v1/accessible-transcript-htmlParses SRT or WebVTT (voice tags <v Name>, "NAME:" prefixes and ">>" speaker changes) or a segments array, merges consecutive cues of the same speaker into turns (a new paragraph after a pause longer than paragraph_gap_s), and writes semant
- Tonwerk0.01 USDC
ad disclosure audio
POSThttps://ton.halowerk.com/v1/ad-disclosure-audioDecodes the complete supplied clip to mono 16 kHz using resource-limited ffmpeg, checks for speech with Silero VAD v6.2 (MIT), and transcribes locally with the pinned Whisper base ONNX model (MIT / Apache-2.0). Conservative English phrase r
- Tonwerk0.005 USDC
ad insertion markers
POSThttps://ton.halowerk.com/v1/ad-insertion-markersRuns ffmpeg 6.1 silencedetect on the episode audio (base64 or URL, at most 10 MiB) and builds mid-roll candidates from internal silences and from Podcasting 2.0 chapter boundaries (a boundary inside a silence or snapped to the nearest silen