Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/speech-normalize

Rewrites digits in up to 20000 characters of text into spoken words for a TTS engine, for locales en-US and en-GB: cardinals, ordinals, years (with a preceding cue such as "in" or a month) and decades, decimals, percentages, currency with ISO 4217 minor units ("$12.50" -> "twelve dollars and fifty cents"), phone numbers read digit by digit, and SI/common units with locale spelling (meter/metre). O

BaseUnchecked
POSThttps://agents.writerslogic.com/api/v1/speech-normalize

UptimeNot checked yet

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://agents.writerslogic.com/api/v1/speech-normalize", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"Call +1 555-123-4567 before the 3rd: it costs $12.50 (15% off).","locale":"en-US"}),
});
console.log(await res.json());

Example input

{
  "text": "Call +1 555-123-4567 before the 3rd: it costs $12.50 (15% off).",
  "locale": "en-US"
}