Text to speech (TTS) with persona voices for long text
voice.forgemesh.io/v1/tts/custom-long
Text to speech (TTS) with persona voices for long text: turn 501 to 2,000 characters of text into expressive spoken WAV audio in any of 20 voices, 10 standard (M1-M5, F1-F5) plus 10 personas such as Storyteller, Narrator, Announcer and Velvet. POST JSON with text, voice, lang (31 languages), optional speed and steps; the response body is one WAV file. Use it for story narration, voiceover and long
POST
https://voice.forgemesh.io/v1/tts/custom-longUptime100% 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
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://voice.forgemesh.io/v1/tts/custom-long", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"lang":"en","text":"Hello world","voice":"M1"}),
});
console.log(await res.json());Example input
{
"lang": "en",
"text": "Hello world",
"voice": "M1"
}