Profiles motion activity over time without detecting people or objects
ton.halowerk.com/v1/motion-summary
Profiles motion activity over time without detecting people or objects: share of changing pixels per sample, active intervals, a time line in buckets, a coarse spatial heat map and frames that change almost entirely (cuts, camera moves). Samples the video at sample_fps on a 160 px wide grey image and compares each sample with the previous one: a pixel is active when its grey level changes by more
POST
https://ton.halowerk.com/v1/motion-summaryUptime100% 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/motion-summary", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"sample_fps":4,"video_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"}),
});
console.log(await res.json());Example input
{
"sample_fps": 4,
"video_url": "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"
}