audio.halowerk.com/trim-silence
Finds silent stretches with ffmpeg level detection and shortens each one that exceeds the threshold length. Pauses are shortened to a floor, never removed outright: a pause cut to zero makes the end of one sentence collide with the start of the next, which is a worse defect than the dead air it replaced. The floor defaults to 400 milliseconds, roughly the pause a speaker leaves between sentences,
POST
https://audio.halowerk.com/trim-silenceUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://audio.halowerk.com/trim-silence", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"audio":{"url":"https://upload.wikimedia.org/wikipedia/commons/c/ce/En-us-Germany.ogg"},"keep_seconds":0.1,"output_format":"mp3","threshold_seconds":0.2}),
});
console.log(await res.json());Example input
{
"audio": {
"url": "https://upload.wikimedia.org/wikipedia/commons/c/ce/En-us-Germany.ogg"
},
"keep_seconds": 0.1,
"output_format": "mp3",
"threshold_seconds": 0.2
}