{"service":"HALOWERK audiowerk","endpoint":"/trim-silence","method":"POST","content_type":"application/json","inputSchema":{"type":"object","required":["audio"],"additionalProperties":false,"properties":{"audio":{"type":"object","additionalProperties":false,"description":"The recording. Either url or content_base64.","properties":{"url":{"type":"string","maxLength":2048,"description":"Public http(s) URL."},"content_base64":{"type":"string","maxLength":12000000,"description":"The file inline, base64."}}},"threshold_seconds":{"type":"number","minimum":0.2,"maximum":30,"default":1.5,"description":"Pauses longer than this are shortened."},"keep_seconds":{"type":"number","minimum":0,"maximum":5,"default":0.4,"description":"What a shortened pause is left at. Zero makes sentences collide and is allowed but not advised."},"noise_floor_db":{"type":"integer","minimum":-70,"maximum":-20,"default":-35,"description":"Level below which audio counts as silence. Raise it for a noisy recording."},"trim_edges":{"type":"boolean","default":true,"description":"Remove leading and trailing silence completely."},"output_format":{"type":"string","enum":["mp3","wav","flac","opus"],"default":"mp3","description":"Format of the trimmed file."}}},"requestExample":{"audio":{},"threshold_seconds":1.5,"keep_seconds":0.4,"noise_floor_db":-35,"trim_edges":true,"output_format":"mp3"},"operations":[{"method":"POST","inputSchema":{"type":"object","required":["audio"],"additionalProperties":false,"properties":{"audio":{"type":"object","additionalProperties":false,"description":"The recording. Either url or content_base64.","properties":{"url":{"type":"string","maxLength":2048,"description":"Public http(s) URL."},"content_base64":{"type":"string","maxLength":12000000,"description":"The file inline, base64."}}},"threshold_seconds":{"type":"number","minimum":0.2,"maximum":30,"default":1.5,"description":"Pauses longer than this are shortened."},"keep_seconds":{"type":"number","minimum":0,"maximum":5,"default":0.4,"description":"What a shortened pause is left at. Zero makes sentences collide and is allowed but not advised."},"noise_floor_db":{"type":"integer","minimum":-70,"maximum":-20,"default":-35,"description":"Level below which audio counts as silence. Raise it for a noisy recording."},"trim_edges":{"type":"boolean","default":true,"description":"Remove leading and trailing silence completely."},"output_format":{"type":"string","enum":["mp3","wav","flac","opus"],"default":"mp3","description":"Format of the trimmed file."}}},"requestExample":{"audio":{},"threshold_seconds":1.5,"keep_seconds":0.4,"noise_floor_db":-35,"trim_edges":true,"output_format":"mp3"}}]}