VoiceLab

Voiced speech segments with timestamps

List voiced speech regions with start/end timestamps and per-segment RMS level. For auto-trim and chapter generation. RMS-based voice-activity detection: when speech happens, not who is speaking, and not where the speaker changes.

post/v1/voicelab/segments

Request

  • Base URL: https://audiolab.tools
  • URL: https://audiolab.tools/v1/voicelab/segments
  • Auth: HTTP bearer

Request body

urlstring uri
objectPathstring

Path returned by /api/upload-url, for audio that has no public URL. Readable only by the key that uploaded it, and kept for about an hour so a follow-up question about the same file does not need a re-upload.

speechDetector'v1' | 'k2'

Which speech detector finds the segments. v1 is the first detector and is the default until 15 January 2027; k2 lets a phrase run on into its soft word starts and endings (by at most 100 ms per side), so neighbouring segments sometimes merge into fewer, longer ones. The same keys and types in both, only the values differ. From 15 January 2027 the default becomes k2 and v1 stays selectable until at least 15 April 2027. Supported on voicelab/qa, voicelab/segments and analyze/profile.

Example request

{
  "url": "https://audiolab.tools/reference/is-original.mp3"
}

Response

Segments complete.

durationSecnumber required
speechSecnumber
silenceSecnumber
speechRationumber required

0..1 fraction of audio that is voiced.

longSilencesnumber

Count of unusually long silences (e.g. potential dead air).

Changes

No recorded changes to this operation across all 1 revision of this API.