{"uid":"cap_05Csp7ek3_YxXEv4OBfj1","slug":"audio-halowerk-com-silence-trimmer-47049975","name":"audio.halowerk.com Silence Trimmer","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 replaced. The floor defaults to 400 milliseconds, roughly the pause a speaker leaves between sentences, and is settable.","url":"https://audio.halowerk.com/trim-silence","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"audio":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"description":"Public http(s) URL."},"content_base64":{"type":"string","maxLength":12000000,"description":"The file inline, base64."}},"description":"The recording. Either url or content_base64.","additionalProperties":false},"trim_edges":{"type":"boolean","default":true,"description":"Remove leading and trailing silence completely."},"keep_seconds":{"type":"number","default":0.4,"maximum":5,"minimum":0,"description":"What a shortened pause is left at. Zero makes sentences collide and is allowed but not advised."},"output_format":{"enum":["mp3","wav","flac","opus"],"type":"string","default":"mp3","description":"Format of the trimmed file."},"noise_floor_db":{"type":"integer","default":-35,"maximum":-20,"minimum":-70,"description":"Level below which audio counts as silence. Raise it for a noisy recording."},"threshold_seconds":{"type":"number","default":1.5,"maximum":30,"minimum":0.2,"description":"Pauses longer than this are shortened."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_99JrNUdq1wTTJToXzUyWw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects and shortens silent stretches in audio files using ffmpeg level detection, reducing pauses that exceed a threshold while preserving a configurable minimum floor (default 400ms) to avoid unnatural sentence collisions","exampleAgentPrompt":"Trim the long silences from this podcast recording — shorten any pause over 1 second down to a 400ms floor so it sounds natural but moves faster.","exampleUseCases":[{"title":"Podcast dead-air cleanup","prompt":"I have a raw podcast episode with lots of awkward pauses and dead air — can you shorten any silence over 2 seconds down to a 400ms floor so it flows better without sounding choppy?"},{"title":"Interview recording compression","prompt":"Speed up this interview audio by trimming all the long silences; anything over 1.5 seconds should be cut down to about half a second minimum so the conversation sounds tighter."},{"title":"Lecture audio pacing fix","prompt":"This recorded lecture has a ton of long pauses between sentences — trim any silence longer than 800 milliseconds to a 400ms floor so the whole thing runs shorter without cutting off natural speech rhythm."}],"resultDescription":"A processed audio file with long silent stretches shortened to the configured floor duration (default 400ms), returned as an audio file stream or URL. Silences exceeding the threshold are compressed but never fully removed, preserving natural sentence pacing.","failureModes":["Unsupported audio format or corrupt file returns an error","Threshold or floor values outside acceptable ranges may be rejected","Very short audio files with no silence exceeding the threshold are returned unchanged","Network timeout for large audio files","Missing or malformed audio payload returns a 400-level error"],"whenToPreferThis":"Choose this endpoint when you need to shorten audio files by compressing long silences without completely removing pauses — ideal for podcast cleanup, interview editing, or lecture recordings where you want faster pacing but natural speech rhythm preserved. It is distinct from full silence removal tools because it enforces a configurable minimum floor, avoiding the jarring sentence-collision defect of hard cuts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T09:15:22.413Z","isFirstParty":false}