agents.writerslogic.com/api/v1/pronunciation-apply
Applies your pronunciation lexicon (up to 200 terms, each an IPA string or a spoken alias) to a text of up to 20000 characters and returns SSML 1.1 with <phoneme alphabet="ipa"> or <sub alias> around each whole-word match, XML-escaped, for an agent preparing text for a text-to-speech engine. Matching is whole-word, longest term first, left to right, deterministic. It does not guess pronunciations,
POST
https://agents.writerslogic.com/api/v1/pronunciation-applyUptimeNot 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.writerslogic.com/api/v1/pronunciation-apply", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"Nvidia & AWS announced GPUs.","lexicon":[{"ipa":"ɛnˈvɪdiə","term":"Nvidia"},{"term":"AWS","alias":"A W S"}]}),
});
console.log(await res.json());Example input
{
"text": "Nvidia & AWS announced GPUs.",
"lexicon": [
{
"ipa": "ɛnˈvɪdiə",
"term": "Nvidia"
},
{
"term": "AWS",
"alias": "A W S"
}
]
}