F

Forgemesh · TTS Base

by Forgemesh

POSTBase

$0.001

per call · USD Coin on Base

Text-to-speech synthesis in 1 of 10 standard voices (5 male M1-M5, 5 female F1-F5) across 31 languages, up to 500 characters, returned as inline WAV audio. Use it to: give an agent a spoken reply, read an alert aloud, narrate a short UI prompt, add voice to a chatbot response, speak a confirmation message. Cheapest tier. USDC on Base via x402, no API key, no signup.

Endpoint

POST https://voice.forgemesh.io/v1/tts/base

52

Calls / 30d

6

Unique payers / 30d

Sep 10

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://voice.forgemesh.io/v1/tts/base", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "lang": "en",
    "text": "Hello world",
    "voice": "M1"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://voice.forgemesh.io/v1/tts/base" \
  -H "Content-Type: application/json" \
  -d '{"lang":"en","text":"Hello world","voice":"M1"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "content_type": "audio/wav",
  "description": "44.1kHz 16-bit mono WAV speech audio returned inline"
}

Payment details

Pay to0x962794fb8ad92941faf1ab446b9e30637b86f331
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from Forgemesh & similar services