Compares an encode with its original frame by frame
ton.halowerk.com/v1/video-quality-compare
Compares an encode with its original frame by frame: PSNR (Y, U, V and overall, from mean squared error) and SSIM (Y, U, V, All) with mean, minimum and 5th percentile, plus the worst frames. VMAF is not offered (libvmaf is not available on this host).
POST
https://ton.halowerk.com/v1/video-quality-compareUptime100% 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://ton.halowerk.com/v1/video-quality-compare", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"distorted_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif","reference_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif","worst_frames":3}),
});
console.log(await res.json());Example input
{
"distorted_url": "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif",
"reference_url": "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif",
"worst_frames": 3
}