Podcast and Music Analysis
flac handoff sample duration
FLAC duration returns sample frames, sample rate and playback time from STREAMINFO. Use it when an agent needs a duration without decoding the audio.
POST https://ton.halowerk.com/v1/flac-handoff-sample-durationInputs
| Field | Type | Required | Description |
|---|---|---|---|
| audio_base64 | string | Yes |
Show full input schema
{
"type": "object",
"properties": {
"audio_base64": {
"type": "string",
"maxLength": 60000,
"minLength": 1
}
},
"required": [
"audio_base64"
],
"additionalProperties": false
}Published input example
{
"audio_base64": "ZkxhQwAAACIAQABAAAAnAAA1AfQA8AAAAIDq7lKO6VBm21EHo4bbFfKzAwAAJAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAACcAQAQAAC8IAAAASEFMT1dFUksCAAAACgAAAFRJVExFPVRvbmUNAAAAVFJBQ0tOVU1CRVI9MYEAAAwAAAAAAAAAAAAAAAD/+GQIAD9eQSAA5zafCD//h//4f/+oDpMmTJkyZMmTJkyZMmTAlF7/+GQIAT9LQSB95zsqDRRRRRRRRFFFFFFFFEUUUUUUUURRRRRRRRRAACsIQhCEA/w/w/y6fA=="
}Result & documentation
Show published result schema
{
"type": "object",
"required": [
"measured_at",
"source",
"data",
"limitations"
],
"properties": {
"measured_at": {
"type": "string"
},
"source": {
"type": "object",
"required": [
"reference",
"retrieved_at"
],
"properties": {
"reference": {
"type": "string"
},
"retrieved_at": {
"type": "string"
}
}
},
"data": {
"type": "object",
"properties": {
"frames": {
"type": "integer"
},
"hz": {
"type": "integer"
},
"seconds": {
"type": "number"
}
},
"required": [
"frames",
"hz",
"seconds"
]
},
"limitations": {
"type": "string"
}
}
}Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.
More endpoints in this hub
- Podcast and Music Analysis0.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
- Podcast and Music Analysis0.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
- Podcast and Music Analysis0.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