Skip to content
HALOWERK

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-events

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
audio_base64stringNoAudio chunk, at most 300 s, as base64 (max 10 MiB): WAV, FLAC, MP3, AAC/M4A, Ogg/Opus, WebM and more.
audio_urlstringNoInstead of base64: public http(s) URL of the file (max 10 MiB).
channelstringNoAnalyse the mix of all channels or one channel.
thresholdnumberNoSilero speech probability threshold (default 0.5).
neg_thresholdnumberNoLower threshold that ends speech (default threshold − 0.15).
min_silence_msintegerNoSilence needed before an end event (default 100).
speech_pad_msintegerNoPadding added around speech (default 30).
min_speech_msintegerNoShorter speech is dropped from segments (default 250); events are unfiltered like VADIterator.
include_probabilitiesbooleanNoAlso 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)."
    }
  }
}

Open original schema

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

All endpoints in this hub →