F

Forgemesh · TTS PRO

by Forgemesh

POSTBase

$0.003

per call · USD Coin on Base

Text-to-speech with speed (0.7x-2.0x) and quality-step (1-100) control, 1 of 10 standard voices across 31 languages, up to 500 characters, returned as WAV audio. Use it to: speak an urgent alert faster, slow a reading for clarity, tune synthesis quality against latency, produce a paced voice cue for a UI, generate a rushed or calm-toned notification. USDC on Base via x402, no API key.

Endpoint

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

4

Calls / 30d

1

Unique payers / 30d

Sep 7

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/pro", {
  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/pro" \
  -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