Skip to content
HALOWERK

Tonwerk

endpointing tune

Finds every pause in the user speech of a recording (up to 300 s) with Silero VAD v6.2 (MIT, pinned, 32 ms frames). Pauses are labelled as within-turn or turn end: from turn_ends_s if you give the true end times of the user turns, otherwise the whole recording counts as one user turn and only the final speech end is a turn end. For each candidate silence timeout it simulates a silence-based endpointer: premature endpoints (a within-turn pause at least as long as the timeout would cut the.

POST https://ton.halowerk.com/v1/endpointing-tune

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
audio_base64stringNoRecording of the user side, 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).
channelstringNoChannel with the user (mix for mono).
turn_ends_sarrayNoTrue end times of the user turns in seconds (optional). Without it the recording is one user turn.
candidates_msarrayNoSilence timeouts to test (default 200, 300, 500, 700, 1000, 1500, 2000).
max_premature_ratenumberNoAccepted premature endpoints per user turn (default 0).
match_tolerance_msintegerNoHow close a turn end must be to a detected speech end (default 300).
thresholdnumberNoSilero speech probability threshold (default 0.5).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "audio_base64": {
      "type": "string",
      "minLength": 16,
      "maxLength": 14000000,
      "description": "Recording of the user side, 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": "Channel with the user (mix for mono)."
    },
    "turn_ends_s": {
      "type": "array",
      "maxItems": 100,
      "items": {
        "type": "number",
        "minimum": 0
      },
      "description": "True end times of the user turns in seconds (optional). Without it the recording is one user turn."
    },
    "candidates_ms": {
      "type": "array",
      "minItems": 1,
      "maxItems": 12,
      "uniqueItems": true,
      "items": {
        "type": "integer",
        "minimum": 50,
        "maximum": 5000
      },
      "description": "Silence timeouts to test (default 200, 300, 500, 700, 1000, 1500, 2000)."
    },
    "max_premature_rate": {
      "type": "number",
      "minimum": 0,
      "maximum": 1,
      "default": 0,
      "description": "Accepted premature endpoints per user turn (default 0)."
    },
    "match_tolerance_ms": {
      "type": "integer",
      "minimum": 50,
      "maximum": 1500,
      "default": 300,
      "description": "How close a turn end must be to a detected speech end (default 300)."
    },
    "threshold": {
      "type": "number",
      "minimum": 0.1,
      "maximum": 0.95,
      "default": 0.5,
      "description": "Silero speech probability threshold (default 0.5)."
    }
  }
}

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",
  "candidates_ms": [
    300,
    700
  ]
}

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 โ†’