{"service":"HALOWERK audiowerk","endpoint":"/duck","method":"POST","content_type":"application/json","inputSchema":{"type":"object","required":["voice","music"],"additionalProperties":false,"properties":{"voice":{"type":"object","additionalProperties":false,"description":"The voice track. 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."}}},"music":{"type":"object","additionalProperties":false,"description":"The music bed. 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."}}},"music_gain_db":{"type":"number","minimum":-40,"maximum":6,"default":-8,"description":"Level of the bed before ducking, relative to its own level."},"threshold_db":{"type":"number","minimum":-60,"maximum":-6,"default":-30,"description":"Voice level above which the bed starts to be pulled down."},"ratio":{"type":"number","minimum":1.5,"maximum":20,"default":8,"description":"How hard the bed is pulled down once the threshold is crossed."},"attack_ms":{"type":"integer","minimum":1,"maximum":500,"default":20,"description":"How fast the bed ducks when the voice starts. Short values can clip the first syllable."},"release_ms":{"type":"integer","minimum":50,"maximum":3000,"default":400,"description":"How fast the bed returns between words. Under 100 ms the bed audibly flutters."},"loop_music":{"type":"boolean","default":true,"description":"Loop a bed shorter than the voice track. Off, the mix ends when the bed does."},"output_format":{"type":"string","enum":["mp3","wav","flac","opus"],"default":"mp3","description":"Format of the mixed file."}}},"requestExample":{"voice":{"url":"https://audio.halowerk.com/examples/voice.wav"},"music":{"url":"https://audio.halowerk.com/examples/voice.wav"}},"operations":[{"method":"POST","inputSchema":{"type":"object","required":["voice","music"],"additionalProperties":false,"properties":{"voice":{"type":"object","additionalProperties":false,"description":"The voice track. 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."}}},"music":{"type":"object","additionalProperties":false,"description":"The music bed. 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."}}},"music_gain_db":{"type":"number","minimum":-40,"maximum":6,"default":-8,"description":"Level of the bed before ducking, relative to its own level."},"threshold_db":{"type":"number","minimum":-60,"maximum":-6,"default":-30,"description":"Voice level above which the bed starts to be pulled down."},"ratio":{"type":"number","minimum":1.5,"maximum":20,"default":8,"description":"How hard the bed is pulled down once the threshold is crossed."},"attack_ms":{"type":"integer","minimum":1,"maximum":500,"default":20,"description":"How fast the bed ducks when the voice starts. Short values can clip the first syllable."},"release_ms":{"type":"integer","minimum":50,"maximum":3000,"default":400,"description":"How fast the bed returns between words. Under 100 ms the bed audibly flutters."},"loop_music":{"type":"boolean","default":true,"description":"Loop a bed shorter than the voice track. Off, the mix ends when the bed does."},"output_format":{"type":"string","enum":["mp3","wav","flac","opus"],"default":"mp3","description":"Format of the mixed file."}}},"requestExample":{"voice":{"url":"https://audio.halowerk.com/examples/voice.wav"},"music":{"url":"https://audio.halowerk.com/examples/voice.wav"}}}]}