{"slug":"ton-halowerk-com-v1-color-match-0e8cff","title":"Samples up to 12 frames of the target window and of the reference (video or imag","host":"ton.halowerk.com","method":"POST","resource":"https://ton.halowerk.com/v1/color-match","category":"image","description":"Samples up to 12 frames of the target window and of the reference (video or image) at 160 px width in RGB, builds 256-bin histograms per channel and derives a monotone 1D LUT: method histogram = histogram specification (CDF matching, midpoint quantiles), method mean_std = per-channel mean and standa","price_listed":0.015,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"method":"mean_std","reference_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif","strength":0.5,"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":{"duration_s":{"description":"Length of the analysed range in seconds (at most 30; default: to the end of the video).","exclusiveMinimum":0,"maximum":30,"type":"number"},"method":{"default":"histogram","description":"Matching method.","enum":["histogram","mean_std"],"type":"string"},"quality":{"default":"balanced","description":"H.264 quality: small (CRF 28), balanced (CRF 23) or high (CRF 19).","enum":["small","balanced","high"],"type":"string"},"reference_base64":{"description":"Reference 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"},"reference_image_base64":{"description":"Reference still image as base64 (PNG, JPEG or WebP; at most 10 MiB decoded; a data: URL prefix is accepted).","maxLength":14000000,"minLength":16,"type":"string"},"reference_image_url":{"description":"Public http(s) URL of the reference still image (at most 10 MiB; private, local and reserved addresses are refused).","format":"uri","maxLength":2048,"pattern":"^https?://","type":"string"},"reference_url":{"description":"Public http(s) URL of the reference video file (at most 10 MiB; private, local and reserved addresses are refused).","format":"uri","maxLength":2048,"pattern":"^https?://","type":"string"},"start_s":{"default":0,"description":"Start of the analysed range in seconds.","maximum":36000,"minimum":0,"type":"number"},"strength":{"default":1,"description":"Blend between no change (0) and full match (1).","maximum":1,"minimum":0,"type":"number"},"video_base64":{"description":"Target video file (the clip to correct) 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 target video file (the clip to correct) (at most 10 MiB; private, local and reserved addresses are refused).","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"}},"required":["input"],"type":"object"},"history":[],"description_full":"Samples up to 12 frames of the target window and of the reference (video or image) at 160 px width in RGB, builds 256-bin histograms per channel and derives a monotone 1D LUT: method histogram = histogram specification (CDF matching, midpoint quantiles), method mean_std = per-channel mean and standard deviation transfer (Reinhard et al. 2001, applied in RGB). strength blends the LUT with identity.","last_updated":"2026-11-12T22:28:54.464Z","schemes":["exact"]}