Tonwerk
vad events
Runs Silero VAD v6.2 (MIT, pinned ONNX model, 32 ms frames at 16 kHz) over a recording of up to 300 s and replays it the way the VADIterator of snakers4/silero-vad emits events in a live stream: a start event when the speech probability crosses the threshold, an end event after min_silence_ms below the lower threshold, each with its time (with speech padding), the time at which a streaming client would have received it and the resulting decision delay. Also returns speech segments as.
POST https://ton.halowerk.com/v1/vad-eventsInputs
| Field | Type | Required | Description |
|---|---|---|---|
| audio_base64 | string | No | Audio chunk, at most 300 s, as base64 (max 10 MiB): WAV, FLAC, MP3, AAC/M4A, Ogg/Opus, WebM and more. |
| audio_url | string | No | Instead of base64: public http(s) URL of the file (max 10 MiB). |
| channel | string | No | Analyse the mix of all channels or one channel. |
| threshold | number | No | Silero speech probability threshold (default 0.5). |
| neg_threshold | number | No | Lower threshold that ends speech (default threshold − 0.15). |
| min_silence_ms | integer | No | Silence needed before an end event (default 100). |
| speech_pad_ms | integer | No | Padding added around speech (default 30). |
| min_speech_ms | integer | No | Shorter speech is dropped from segments (default 250); events are unfiltered like VADIterator. |
| include_probabilities | boolean | No | Also return the speech probability of every 32 ms frame (2 decimals). |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"audio_base64": {
"type": "string",
"minLength": 16,
"maxLength": 14000000,
"description": "Audio chunk, at most 300 s, as base64 (max 10 MiB): WAV, FLAC, MP3, AAC/M4A, Ogg/Opus, WebM and more."
},
"audio_url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Instead of base64: public http(s) URL of the file (max 10 MiB)."
},
"channel": {
"type": "string",
"enum": [
"mix",
"left",
"right"
],
"default": "mix",
"description": "Analyse the mix of all channels or one channel."
},
"threshold": {
"type": "number",
"minimum": 0.1,
"maximum": 0.95,
"default": 0.5,
"description": "Silero speech probability threshold (default 0.5)."
},
"neg_threshold": {
"type": "number",
"minimum": 0.01,
"maximum": 0.9,
"description": "Lower threshold that ends speech (default threshold − 0.15)."
},
"min_silence_ms": {
"type": "integer",
"minimum": 0,
"maximum": 3000,
"default": 100,
"description": "Silence needed before an end event (default 100)."
},
"speech_pad_ms": {
"type": "integer",
"minimum": 0,
"maximum": 500,
"default": 30,
"description": "Padding added around speech (default 30)."
},
"min_speech_ms": {
"type": "integer",
"minimum": 0,
"maximum": 2000,
"default": 250,
"description": "Shorter speech is dropped from segments (default 250); events are unfiltered like VADIterator."
},
"include_probabilities": {
"type": "boolean",
"default": false,
"description": "Also return the speech probability of every 32 ms frame (2 decimals)."
}
}
}Published input example
{
"audio_base64": "T2dnUwACAAAAAAAAAAAAAAAAAAAAAEkq9qABE09wdXNIZWFkAQE4AYA+AAAAAABPZ2dTAAAAAAAAAAAAAAAAAAABAAAASZW+VAEuT3B1c1RhZ3MGAAAAZmZtcGVnAQAAABQAAABlbmNvZGVyPUxhdmMgbGlib3B1c09nZ1MAAIC7AAAAAAAAAAAAAAIAAACoiJ8nMgcGBgYGBgYGBgYNDgoLCQoLCw8PDw4PEw4QEA8QERIPDxAOEhIUEg8ODhEQDhATExIPCAvmOyOrYAgIrLMOxggIrLMOxggIrLMOxggIrLMOxggIrLMOxggIrLMOxggIrLMOxggIrLMOxggIrLMOxgiAB1QL4XdTndjw8+AIh7TGOYLHIp5+o7X+QAiA2kdqErhNcLMIJIU4NjvBOHv+gAghcgNf9XiQwAghfxWNcINJZ4AIIeJ/ksZ60oubgAgh96eUvMGiRrojCIdY4RJmI0T1wRNaf9NACIugiYo+qZAE8VZGYDbOCI9tEhvQylACHw72YbAOCIQbfagpBJx2ontMf8AIhHdONCQ/u/deMkcLOuQItkzKTr7z8+iZVS2wPUPsnhTACLej4lLZSeJoLVfcRBIIty6aa+AP65hWYKG25lPWCLezHN5lA20esqbfKEwnwAi16g3LcJA7jGGwCGlKegi29SbiOAy8Y1Pl1VjSx0AIuP4D0o5jpd8+3neeHzoRDgi6dpY0xSprysr+a6XtlWC2iQi7+xNBjv+LxdCnei+ugAi8Ju1ZhqBH5+vTCr2Iogi79EmSSf27Ailw0N0Bm2AIu0DWwMkagmFX+xfIQgi5Se4SF45JVeXHnAGIS21lgAi2lCk68RY2+S77jWlAaw1KgAiwGD2j6X3p90WzHpVapWrbIoxYCLEH0J7Nf08gS5R/tv1BGZ9ECLwIWBW4EPSN14ENLa59CLx6LcALbyw4sQDl7sAIvHa/jjFBJ1ktAMgcmgi8bCccVMYdEYY4Fhpfy0vQCLxVQKttUVFXONIS/iFIcAi8SGifeOPthT7QHukgCLxbo52RzWnaQuBUf0ehSAi8VHlA9dJIjXASDjSFFoXzgjAIvFp2HTS9R2xKvMbB4TYciqWQCLvtFC/4Oqg3U4xaVcjEHMiACLefshPQtRSBKVqY7+KAT2dnUwAEuAcBAAAAAAAAAAAAAwAAANWpGI4VEA0NCgoLCgkLCwoOBgYGBgYGBgYGCLTHHzJTX3d++HfOsz+YHAivy+GEdPCM6Cy8APEIkBt/onLGh7gK9FhACDpNddtjsfQbIAgFqwPp0nj4OVAINExWotlyAg71sQgpSyOME2T81sAIJRz1EahEs+AIJJbvVK0XCGFfUgge0vMWcWxRnnGACBgqNvqBxfglzAgLBQuIweTkPD0rov1QCAissw7GCAissw7GCAissw7GCAissw7GCAissw7GCAissw7GCAissw7GCAissw7GCAissw7G"
}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