ton.halowerk.com/v1/color-match
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.
POST
https://ton.halowerk.com/v1/color-matchUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://ton.halowerk.com/v1/color-match", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"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"}),
});
console.log(await res.json());Example input
{
"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"
}