Tonwerk
media wcag checklist
Probes all streams with ffprobe (video, audio with visual_impaired/descriptions disposition, subtitles with hearing_impaired/captions disposition and language), decides whether the media is audio-video, audio-only or video-only (audio below −60 dBFS counts as silent), detects speech with Silero VAD v6.2, reads text subtitle tracks or sidecar captions (SRT/WebVTT) and measures the share of detected speech covered by caption cues (±0.5 s). Combined with what the caller declares (transcript,.
POST https://ton.halowerk.com/v1/media-wcag-checklistInputs
| Field | Type | Required | Description |
|---|---|---|---|
| media_base64 | string | No | The video or audio file as base64 (MP4/MOV, WebM/MKV, AVI, MPEG-TS, MPEG-PS, FLV, Ogg or animated GIF; at most 10 MiB decoded; a data: URL prefix is accepted). |
| media_url | string | No | Public http(s) URL of the the video or audio file (at most 10 MiB; private, local and reserved addresses are refused). |
| captions | string | No | Captions or subtitles as SRT or WebVTT text. |
| captions_format | string | No | Format of captions; auto detects WEBVTT headers, otherwise SRT. |
| transcript_available | boolean | No | A full text alternative (transcript with descriptions) is provided next to the media. |
| audio_description_available | boolean | No | An audio-described version or description track is provided outside this file. |
| sign_language_available | boolean | No | A sign language interpretation is provided. |
| live | boolean | No | The media is a live stream (recording of it). |
| media_alternative_for_text | boolean | No | The media is itself an alternative for text on the page and labelled as such (WCAG exception). |
| detector | string | No | Speech detection: silero (Silero VAD v6.2 neural voice activity detector, robust to music and noise) or energy (frame level above the noise floor; for clean recordings). |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"media_base64": {
"type": "string",
"minLength": 16,
"maxLength": 14000000,
"description": "The video or audio file as base64 (MP4/MOV, WebM/MKV, AVI, MPEG-TS, MPEG-PS, FLV, Ogg or animated GIF; at most 10 MiB decoded; a data: URL prefix is accepted)."
},
"media_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 2048,
"description": "Public http(s) URL of the the video or audio file (at most 10 MiB; private, local and reserved addresses are refused)."
},
"captions": {
"type": "string",
"minLength": 10,
"maxLength": 400000,
"description": "Captions or subtitles as SRT or WebVTT text."
},
"captions_format": {
"type": "string",
"enum": [
"auto",
"srt",
"vtt"
],
"default": "auto",
"description": "Format of captions; auto detects WEBVTT headers, otherwise SRT."
},
"transcript_available": {
"type": "boolean",
"default": false,
"description": "A full text alternative (transcript with descriptions) is provided next to the media."
},
"audio_description_available": {
"type": "boolean",
"default": false,
"description": "An audio-described version or description track is provided outside this file."
},
"sign_language_available": {
"type": "boolean",
"default": false,
"description": "A sign language interpretation is provided."
},
"live": {
"type": "boolean",
"default": false,
"description": "The media is a live stream (recording of it)."
},
"media_alternative_for_text": {
"type": "boolean",
"default": false,
"description": "The media is itself an alternative for text on the page and labelled as such (WCAG exception)."
},
"detector": {
"type": "string",
"enum": [
"silero",
"energy"
],
"default": "silero",
"description": "Speech detection: silero (Silero VAD v6.2 neural voice activity detector, robust to music and noise) or energy (frame level above the noise floor; for clean recordings)."
}
}
}Published input example
{
"media_url": "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif",
"transcript_available": true
}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