Skip to content
Fourohtwo

Text to speech (TTS), OpenAI-compatible

voice.forgemesh.io/v1/audio/speech

Text to speech (TTS), OpenAI-compatible: the /v1/audio/speech request shape (input, voice, response_format) for clients built against the OpenAI speech API. Turns up to 500 characters of input text into spoken audio, returned in the response body as WAV, FLAC or OGG. 10 standard voices (M1-M5, F1-F5); the model field is accepted and ignored. No API key.

BaseAnswering
POSThttps://voice.forgemesh.io/v1/audio/speech

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

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/audio/speech", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":"Hello world","model":"forgemesh-voice","response_format":"wav","voice":"M1"}),
});
console.log(await res.json());

Example input

{
  "input": "Hello world",
  "model": "forgemesh-voice",
  "response_format": "wav",
  "voice": "M1"
}