{"slug":"ton-halowerk-com-v1-clips-normalize-join-222a55","title":"Each clip (own start_s/duration_s window) is converted to square pixels, fitted ","host":"ton.halowerk.com","method":"POST","resource":"https://ton.halowerk.com/v1/clips-normalize-join","category":"other","description":"Each clip (own start_s/duration_s window) is converted to square pixels, fitted into the target frame (pad = letterbox/pillarbox in background_color, crop = fill and cut the overflow centred, stretch = distort), resampled to the target frame rate (ffmpeg fps filter: duplicate/drop frames) and joined","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1197,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"clips":[{"duration_s":1,"video_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"},{"duration_s":1,"start_s":1,"video_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"}],"fit":"pad","height":320,"width":320},"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":{"background_color":{"default":"#000000","description":"Colour of the pad bars as #RRGGBB.","pattern":"^#?[0-9A-Fa-f]{6}$","type":"string"},"clips":{"description":"Clips in playback order.","items":{"additionalProperties":false,"properties":{"duration_s":{"description":"Length of the analysed range in seconds (at most 60; default: to the end of the video).","exclusiveMinimum":0,"maximum":60,"type":"number"},"start_s":{"default":0,"description":"Start of the analysed range in seconds.","maximum":36000,"minimum":0,"type":"number"},"video_base64":{"description":"Clip video file as base64 (MP4/MOV, WebM/MKV, AVI, MPEG-TS, MPEG-PS, FLV, Ogg or animated GIF; at most 10 MiB decoded; a data: URL prefix is accepted).","maxLength":14000000,"minLength":16,"type":"string"},"video_url":{"description":"Public http(s) URL of the clip video file (at most 10 MiB; private, local and reserved addresses are refused).","format":"uri","maxLength":2048,"pattern":"^https?://","type":"string"}},"type":"object"},"maxItems":6,"minItems":2,"type":"array"},"fit":{"default":"pad","description":"How clips with another aspect ratio are fitted.","enum":["pad","crop","stretch"],"type":"string"},"fps":{"description":"Target frame rate (default: first clip).","maximum":60,"minimum":5,"type":"number"},"height":{"description":"Target height (default: first clip, fitted into 1280x720).","maximum":1280,"minimum":64,"multipleOf":2,"type":"integer"},"normalize_audio":{"default":true,"description":"Level every clip to target_lufs.","type":"boolean"},"quality":{"default":"balanced","description":"H.264 quality: small (CRF 28), balanced (CRF 23) or high (CRF 19).","enum":["small","balanced","high"],"type":"string"},"target_lufs":{"default":-16,"description":"Target integrated loudness in LUFS (EBU R 128; -16 is common for online video, -23 for broadcast).","maximum":-10,"minimum":-30,"type":"number"},"width":{"description":"Target width (default: first clip, fitted into 1280x720).","maximum":1280,"minimum":64,"multipleOf":2,"type":"integer"}},"required":["clips"],"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-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1182,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1222,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1227,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1201,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1197,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1169,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1159,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1266,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":1125,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":371,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":353,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":378,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":363,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":377,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":353,"error":null}],"description_full":"Each clip (own start_s/duration_s window) is converted to square pixels, fitted into the target frame (pad = letterbox/pillarbox in background_color, crop = fill and cut the overflow centred, stretch = distort), resampled to the target frame rate (ffmpeg fps filter: duplicate/drop frames) and joined with the concat filter.","last_updated":"2026-11-12T22:28:36.932Z","schemes":["exact"]}