Text to speech (TTS) with speed control
voice.forgemesh.io/v1/tts/pro
Text to speech (TTS) with speed control: turn up to 500 characters of text into spoken WAV audio at a chosen speaking speed (0.7x to 2.0x) and quality steps (1-100). POST JSON with text, voice (10 standard voices M1-M5, F1-F5), lang (31 languages), speed and steps; the response body is the WAV file. Use it for fast urgent alerts, slow clear instructions and paced voice prompts.
POST
https://voice.forgemesh.io/v1/tts/proUptime100% 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://voice.forgemesh.io/v1/tts/pro", {
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"
}