Tonwerk
tts ab compare
Decodes both clips (base64 or URL, at most 10 MiB and 60 s each) with ffmpeg 6.1 and measures each on 10 ms frames: speech segments above the silence threshold (blips under 30 ms dropped, gaps shorter than min_pause_ms bridged), leading/trailing silence, pause statistics, words per minute over the speech span and syllables per second of speech time if the text is given (vowel-group syllable count), active level, pause noise floor, sample peak, clipped samples at codec full scale, spectral.
POST https://ton.halowerk.com/v1/tts-ab-compareInputs
| Field | Type | Required | Description |
|---|---|---|---|
| audio_a_base64 | string | No | Rendering A as base64 (at most 10 MiB, 60 s). |
| audio_a_url | string | No | Public URL of rendering a. |
| audio_b_base64 | string | No | Rendering B as base64 (at most 10 MiB, 60 s). |
| audio_b_url | string | No | Public URL of rendering b. |
| text | string | No | The text both renderings speak (enables words per minute). |
| silence_threshold_db | number | No | Frame level below which audio counts as silence (dBFS). |
| min_pause_ms | integer | No | Shortest gap that counts as a pause. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"audio_a_base64": {
"type": "string",
"minLength": 16,
"maxLength": 14000000,
"description": "Rendering A as base64 (at most 10 MiB, 60 s)."
},
"audio_a_url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Public URL of rendering a."
},
"audio_b_base64": {
"type": "string",
"minLength": 16,
"maxLength": 14000000,
"description": "Rendering B as base64 (at most 10 MiB, 60 s)."
},
"audio_b_url": {
"type": "string",
"format": "uri",
"maxLength": 2048,
"description": "Public URL of rendering b."
},
"text": {
"type": "string",
"maxLength": 5000,
"description": "The text both renderings speak (enables words per minute)."
},
"silence_threshold_db": {
"type": "number",
"minimum": -80,
"maximum": -20,
"default": -45,
"description": "Frame level below which audio counts as silence (dBFS)."
},
"min_pause_ms": {
"type": "integer",
"minimum": 50,
"maximum": 2000,
"default": 150,
"description": "Shortest gap that counts as a pause."
}
}
}Published input example
{
"audio_a_base64": "T2dnUwACAAAAAAAAAAAAAAAAAAAAAEkq9qABE09wdXNIZWFkAQE4AYA+AAAAAABPZ2dTAAAAAAAAAA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kxXs5PmAilK0uCRvGIG1lv4fE1adhQiFXcCKUauczrnKpIOzlvQDjk0QNA6+f+CKUauczrnKpGgZkUrPPqzmggNFzx0QilK0uCRvGIG1l2jKzs7vE6sEjjZK2SZpYIpRq5zOucqg84GODpwES8S7AIpRq5zOucqgyBnzDZsH9p4D5uGD6+xl4XwGXgCKUrS4JG8YgXldYdswjD5/AIpRq5zOujCQ4tbxb3hAilK0uCRvGIG1l2UFVKjoi8hEDaOD8XipB+1gimrKXWGaQZcFDa/ZJloW9aKUAIP2kQAAR577k0iteQCDiPUACI7jUkgAgXHwnFGtPQsA==",
"text": "Hallo Welt"
}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