Skip to content
Fourohtwo

ton.halowerk.com/v1/audio-only-version

Turns a video (or audio) into an audio-only version with spoken descriptions: English description texts are synthesised with flite, other languages can be sent as recorded clips; descriptions are mixed over the ducked soundtrack or inserted by pausing it.

BaseAnswering
POSThttps://ton.halowerk.com/v1/audio-only-version

Uptime100% 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/audio-only-version", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"bitrate_kbps":32,"descriptions":[{"at_s":0.5,"text":"The Earth turns slowly in space."}],"media_url":"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif","mode":"extend"}),
});
console.log(await res.json());

Example input

{
  "bitrate_kbps": 32,
  "descriptions": [
    {
      "at_s": 0.5,
      "text": "The Earth turns slowly in space."
    }
  ],
  "media_url": "https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif",
  "mode": "extend"
}