{"slug":"audio-halowerk-com-trim-silence-fea9ef","title":"Finds silent stretches with ffmpeg level detection and shortens each one that ex","host":"audio.halowerk.com","method":"POST","resource":"https://audio.halowerk.com/trim-silence","category":"image","description":"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 repl","price_listed":0.008,"price_asked":0.008,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":1195,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"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},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"audio":{"additionalProperties":false,"description":"The recording. Either url or content_base64.","properties":{"content_base64":{"description":"The file inline, base64.","maxLength":12000000,"type":"string"},"url":{"description":"Public http(s) URL.","maxLength":2048,"type":"string"}},"type":"object"},"keep_seconds":{"default":0.4,"description":"What a shortened pause is left at. Zero makes sentences collide and is allowed but not advised.","maximum":5,"minimum":0,"type":"number"},"noise_floor_db":{"default":-35,"description":"Level below which audio counts as silence. Raise it for a noisy recording.","maximum":-20,"minimum":-70,"type":"integer"},"output_format":{"default":"mp3","description":"Format of the trimmed file.","enum":["mp3","wav","flac","opus"],"type":"string"},"threshold_seconds":{"default":1.5,"description":"Pauses longer than this are shortened.","maximum":30,"minimum":0.2,"type":"number"},"trim_edges":{"default":true,"description":"Remove leading and trailing silence completely.","type":"boolean"}},"required":["audio"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.008,"price_match":true,"latency_ms":1178,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.008,"price_match":true,"latency_ms":1217,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.008,"price_match":true,"latency_ms":1210,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.008,"price_match":true,"latency_ms":1180,"error":null}],"description_full":"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, and is settable.","last_updated":"2026-11-23T10:32:30.617Z","schemes":["exact"]}