{"slug":"medien-halowerk-com-v1-video-audio-replace-4eb445","title":"Takes a video and an audio file (for example a dubbed track from /v1/dub, a voic","host":"medien.halowerk.com","method":"POST","resource":"https://medien.halowerk.com/v1/video-audio-replace","category":"image","description":"Takes a video and an audio file (for example a dubbed track from /v1/dub, a voice-over or music) and returns the video with the new sound: mode replace drops the original audio, mode mix keeps it at original_volume underneath. The new audio is trimmed to the video length or padded with silence, opti","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1054,"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://medien.halowerk.com/beispiel/musik.mp3"},"mode":"mix","original_volume":1,"video":{"url":"https://medien.halowerk.com/beispiel/vortrag.mp4"}},"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,"properties":{"content_base64":{"maxLength":5500000,"type":"string"},"filename":{"maxLength":260,"type":"string"},"url":{"maxLength":2048,"type":"string"}},"type":"object"},"mode":{"default":"replace","enum":["replace","mix"],"type":"string"},"offset_seconds":{"default":0,"maximum":600,"minimum":0,"type":"number"},"original_volume":{"default":0.2,"maximum":1,"minimum":0,"type":"number"},"video":{"additionalProperties":false,"properties":{"content_base64":{"maxLength":5500000,"type":"string"},"filename":{"maxLength":260,"type":"string"},"url":{"maxLength":2048,"type":"string"}},"type":"object"}},"required":["video","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"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":1054,"error":null}],"description_full":"Takes a video and an audio file (for example a dubbed track from /v1/dub, a voice-over or music) and returns the video with the new sound: mode replace drops the original audio, mode mix keeps it at original_volume underneath. The new audio is trimmed to the video length or padded with silence, optionally delayed by offset_seconds. The picture is copied, not re-encoded. Output MP4 with AAC inline as base64, max 24 MB. Runs locally with ffmpeg. Fixed price per call.","last_updated":"2026-10-30T14:43:47.93Z","schemes":["exact"]}