Tonwerk
subtitle timebase convert
Return millisecond subtitle intervals from supplied frame indices and a rational frame rate. Supplied data only.
POST https://ton.halowerk.com/v1/subtitle-timebase-convertInputs
| Field | Type | Required | Description |
|---|---|---|---|
| frames | array | Yes | |
| fps_num | integer | Yes | |
| fps_den | integer | Yes | |
| offset_ms | number | Yes |
Show full input schema
{
"type": "object",
"properties": {
"frames": {
"type": "array",
"items": {
"type": "object",
"properties": {
"first": {
"type": "integer",
"minimum": 0,
"maximum": 100000000
},
"last": {
"type": "integer",
"minimum": 1,
"maximum": 100000000
}
},
"required": [
"first",
"last"
],
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
},
"fps_num": {
"type": "integer",
"minimum": 1,
"maximum": 120000
},
"fps_den": {
"type": "integer",
"minimum": 1,
"maximum": 1001
},
"offset_ms": {
"type": "number",
"minimum": -1000000,
"maximum": 1000000
}
},
"required": [
"frames",
"fps_num",
"fps_den",
"offset_ms"
],
"additionalProperties": false
}Published input example
{
"frames": [
{
"first": 0,
"last": 24
}
],
"fps_num": 24000,
"fps_den": 1001,
"offset_ms": 0
}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
- 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