Skip to content
Fourohtwo

ton.halowerk.com/v1/opus-playback-seek-preroll

Opus audio seeking identifies a packet and its Ogg page for an 80 millisecond preroll before a requested position. Use it when an agent needs a safe decoder warmup point on the playback timeline.

BaseAnswering
POSThttps://ton.halowerk.com/v1/opus-playback-seek-preroll

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/opus-playback-seek-preroll", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"audio_base64":"T2dnUwACAAAAAAAAAAANLWUQAAAAAEynTuoBE09wdXNIZWFkAQE4AYC7AAAAAABPZ2dTAAAAAAAAAAAAAA0tZRABAAAAy4j/TwFcT3B1c1RhZ3MNAAAATGF2ZjYwLjE2LjEwMAIAAAAdAAAAZW5jb2Rlcj1MYXZjNjAuMzEuMTAyIGxpYm9wdXMaAAAAVElUTEU9SEFMT1dFUksgcmVmZXJlbmNlIDFPZ2dTAACABwAAAAAAAA0tZRACAAAAq/wOKwIPEXgL5ME27MWNjElGmaQmsHgHyXIn4UTqVfHwwNXd6VJgT2dnUwAAAA8AAAAAAAANLWUQAwAAAPUj+YACEhJ4B8l5yMlXwKISI/rvZ/NkwOB4B8l5yMlXwKISI/r),
});
console.log(await res.json());

Example input

{"audio_base64":"T2dnUwACAAAAAAAAAAANLWUQAAAAAEynTuoBE09wdXNIZWFkAQE4AYC7AAAAAABPZ2dTAAAAAAAAAAAAAA0tZRABAAAAy4j/TwFcT3B1c1RhZ3MNAAAATGF2ZjYwLjE2LjEwMAIAAAAdAAAAZW5jb2Rlcj1MYXZjNjAuMzEuMTAyIGxpYm9wdXMaAAAAVElUTEU9SEFMT1dFUksgcmVmZXJlbmNlIDFPZ2dTAACABwAAAAAAAA0tZRACAAAAq/wOKwIPEXgL5ME27MWNjElGmaQmsHgHyXIn4UTqVfHwwNXd6VJgT2dnUwAAAA8AAAAAAAANLWUQAwAAAPUj+YACEhJ4B8l5yMlXwKISI/rvZ/NkwOB4B8l5yMlXwKISI/r