Skip to content
Fourohtwo

audio.halowerk.com/speech-duration

Counts syllables rather than words, because word length differs between languages far more than syllable duration does — a German compound and its four-word English equivalent take about the same time to say and would give wildly different word counts.

BaseAnswering
POSThttps://audio.halowerk.com/speech-duration

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://audio.halowerk.com/speech-duration", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"language":"en","text":"The quick brown fox jumps over the lazy dog. It barked twice, then slept."}),
});
console.log(await res.json());

Example input

{
  "language": "en",
  "text": "The quick brown fox jumps over the lazy dog. It barked twice, then slept."
}