medien.halowerk.com/v1/subtitle-translate
Takes subtitle text in SRT or WebVTT and a target language and returns the translated file: every cue is translated on its own so that number, order and timing of cues stay exactly as in the original, which is checked on each model answer. Line breaks inside a cue are joined for translation. Output in SRT or WebVTT. Translation by a language model at Groq, which does not train on inputs; disclosed
POST
https://medien.halowerk.com/v1/subtitle-translateUptime100% 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://medien.halowerk.com/v1/subtitle-translate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"subtitles":"1\n00:00:05,520 --> 00:00:08,960\nYep. I said it before, and I'll say it again.\n\n2\n00:00:10,071 --> 00:00:15,511\nLife moves pretty fast. You don't stop and look around once in a while, you could miss it.\n","target_language":"de"}),
});
console.log(await res.json());Example input
{
"subtitles": "1\n00:00:05,520 --> 00:00:08,960\nYep. I said it before, and I'll say it again.\n\n2\n00:00:10,071 --> 00:00:15,511\nLife moves pretty fast. You don't stop and look around once in a while, you could miss it.\n",
"target_language": "de"
}