API

remove-silence

Removes the listed time ranges from an uploaded recording and joins the rest seamlessly — the server lane of the site's /silence-remover, whose page finds the pauses in the browser. Without a browser, take the pauses from a `transcribe` run: the gaps between its segments. Overlapping ranges are merged; a list that would remove everything is refused. Stage the input with POST /v1/uploads first. ASYNCHRONOUS: the call returns 202 with a run id — poll GET /v1/runs/{id}, or register a webhook.

v1 beta server · 10 tokens

Price (server): 2 tokens per MB of input, at least 10 per call; paid plans: −5%, rounded up. The exact figure for your file: POST /v1/tools/remove-silence/estimate.

Call it

POST https://tembrica.com/v1/tools/remove-silence/runs
Authorization: Bearer $TIMBRICA_KEY
Idempotency-Key: <your retry-safe key>
Content-Type: application/json

Input

FieldTypeRequiredNotes
audio object yes Staged input file, up to 50 MB. Any audio file, or a video whose sound track is taken: mp3, wav, ogg, flac, aac, m4a, webm, aiff, wma, opus, mp4, mov, 3gp, caf, mp2, ac3, amr. Upload it with POST /v1/uploads (multipart `file`, or JSON {"url":"…"}).
silence_regions array yes Ranges to remove, {start, end} in seconds of the original.
format string no Output format. Defaults to the input's format when it is one of these, otherwise mp3. opus is delivered as Ogg Opus with the .ogg extension.
one of: mp3, wav, ogg, flac, m4a, aac, opus, wma, aiff, webm
bitrate integer no Output bitrate in kbit/s, for lossy formats. Omit for the format's default.

Input file

Stage it with POST /v1/uploads (multipart `file`, or JSON {"url": "…"}), then pass {"file_id": "<id>"} in each listed input field.
file fields: audio

Errors it can return

validation_failed  input_too_large  insufficient_tokens  concurrency_limited  internal_error 

History

  • v1 — 2026-11-19 — Initial release (server lane, async, per-MB pricing).

This contract cannot change without a new version and a line above: a test compares the published schema, pricing and limits against a committed lockfile and fails the build otherwise. Subscribe to /v1/changelog to be told when something moves.