{"slug":"ton-halowerk-com-v1-letterbox-detect-51fffc","title":"Detects black borders in a video (letterbox, pillarbox or windowbox), returns th","host":"ton.halowerk.com","method":"POST","resource":"https://ton.halowerk.com/v1/letterbox-detect","category":"image","description":"Detects black borders in a video (letterbox, pillarbox or windowbox), returns the active picture area, the aspect ratio of the content with the nearest standard format and a ready ffmpeg crop filter. Runs ffmpeg cropdetect (per-frame reset, rows and columns whose mean luma is at or below black_level","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1194,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"video_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"},"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":{"black_level":{"default":24,"maximum":64,"minimum":4,"type":"integer"},"duration_s":{"exclusiveMinimum":0,"maximum":3600,"type":"number"},"samples":{"default":24,"maximum":60,"minimum":6,"type":"integer"},"start_s":{"default":0,"maximum":36000,"minimum":0,"type":"number"},"video_base64":{"maxLength":14000000,"minLength":16,"type":"string"},"video_url":{"format":"uri","maxLength":2048,"pattern":"^https?://","type":"string"}},"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"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1304,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1182,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1199,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1290,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1172,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1194,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1126,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":1129,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":371,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":358,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":338,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":387,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":378,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":355,"error":null}],"description_full":"Detects black borders in a video (letterbox, pillarbox or windowbox), returns the active picture area, the aspect ratio of the content with the nearest standard format and a ready ffmpeg crop filter. Runs ffmpeg cropdetect (per-frame reset, rows and columns whose mean luma is at or below black_level count as black) on the keyframes of the selected range, or on evenly spaced frames when there are fewer keyframes than samples.","last_updated":"2026-11-21T06:58:03.869Z","schemes":["exact"]}