Recovers subtitles that are burned into the picture
ton.halowerk.com/v1/burned-subtitle-extract
Recovers subtitles that are burned into the picture: finds when a caption appears and disappears in the subtitle band, reads it with Tesseract OCR and returns an SRT file plus the cues with times and confidence. Crops the subtitle band (band_top to band_bottom of the frame height) and samples it at sample_fps. A text mask keeps bright pixels that have a dark neighbour within 2 px (outline or shado
POST
https://ton.halowerk.com/v1/burned-subtitle-extractUptime100% of 4 checks 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/burned-subtitle-extract", {
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"
}