Skip to content
Fourohtwo

medien.halowerk.com/v1/subtitles

Takes the list of speaking turns as /v1/diarize returns it, with start, end and text per entry, and renders a ready subtitle file in SRT or WebVTT. Lines are wrapped at a configurable width, a turn too long for one cue is split into several with timings interpolated across the split, and speaker labels can be prefixed.

BaseAnswering
POSThttps://medien.halowerk.com/v1/subtitles

Uptime100% 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/subtitles", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"format":"srt","segments":[{"end":3.2,"speaker":0,"start":0.5,"text":"Guten Morgen, schoen dass Sie da sind."},{"end":6.1,"speaker":1,"start":3.4,"text":"Danke fuer die Einladung."}],"speaker_labels":true}),
});
console.log(await res.json());

Example input

{
  "format": "srt",
  "segments": [
    {
      "end": 3.2,
      "speaker": 0,
      "start": 0.5,
      "text": "Guten Morgen, schoen dass Sie da sind."
    },
    {
      "end": 6.1,
      "speaker": 1,
      "start": 3.4,
      "text": "Danke fuer die Einladung."
    }
  ],
  "speaker_labels": true
}