Takes one thumbnail every interval_s (default
ton.halowerk.com/v1/scrub-sprites
Takes one thumbnail every interval_s (default: 1, 2, 5, 10, 15, 30 or 60 s so that at most 120 thumbnails result), scales it to the requested width with the display aspect ratio, tiles the thumbnails into sheets of columns x rows with ffmpeg 6.1 (tile filter) and writes a WebVTT track whose cues cover [k*interval, (k+1)*interval) and point to sprite_NNN.jpg#xywh=x,y,w,h (W3C Media Fragments 1.0),
POST
https://ton.halowerk.com/v1/scrub-spritesUptime100% 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/scrub-sprites", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"columns":4,"interval_s":0.5,"thumb_width":96,"video_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"}),
});
console.log(await res.json());Example input
{
"columns": 4,
"interval_s": 0.5,
"thumb_width": 96,
"video_url": "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"
}