# ForgeMesh Pro Text-to-Speech

> ForgeMesh Pro Text-to-Speech is a paid API for AI agents from tts.forgemesh.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Converts text to high-quality WAV audio speech supporting 31 languages, 10 voice options, and adjustable speed and quality settings, billed per call via x402 micropayments.

## Facts

- Endpoint: POST https://tts.forgemesh.io/v1/tts/pro
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-pro-text-to-speech-0b986509
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Iy60qcdbre4WT_oTlXeWB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability forgemesh-pro-text-to-speech-0b986509 -d '<json body>'
```

Example prompt: Read this text aloud in French using a female voice F2 at normal speed and standard quality: 'Bonjour, bienvenue sur notre plateforme. Nous sommes ravis de vous accueillir.' — give me a WAV file back.

## When to prefer this

Choose this endpoint when you need multilingual TTS (31 languages) with fine-grained control over voice gender, speech speed, and audio quality without managing API keys — particularly suited for agents using x402 crypto micropayment billing. Prefer it over OpenAI TTS or ElevenLabs when you want OpenAI-compatible semantics with per-call USDC payments and no subscription overhead.

## Known failure modes

- Text exceeds 2000 characters — use the -long route variant instead
- Unsupported language code — only the 31 listed ISO language codes are accepted
- Speed out of range (must be 0.7–2.0) — returns validation error
- Steps out of range (must be 1–100) — returns validation error
- Invalid voice ID — only M1-M5 and F1-F5 are valid
- Payment failure via x402 — call rejected if USDC micropayment is not processed
- Empty or missing text field — synthesis cannot proceed

## How this service works

Paid text-to-speech via x402. WAV audio in 31 languages, OpenAI-compatible, no API keys.

## Output

Returns a raw WAV audio file (audio/wav) encoded at 44.1kHz 16-bit mono containing the synthesized speech. The audio length depends on the text length and speed parameter.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lang": {
   "enum": [
    "en",
    "ko",
    "ja",
    "ar",
    "bg",
    "cs",
    "da",
    "de",
    "el",
    "es",
    "et",
    "fi",
    "fr",
    "hi",
    "hr",
    "hu",
    "id",
    "it",
    "lt",
    "lv",
    "nl",
    "pl",
    "pt",
    "ro",
    "ru",
    "sk",
    "sl",
    "sv",
    "tr",
    "uk",
    "vi"
   ],
   "type": "string",
   "description": "Language code; 31 languages supported"
  },
  "text": {
   "type": "string",
   "maxLength": 2000,
   "minLength": 1,
   "description": "Text to synthesize into speech, max 2000 characters. Use non-long routes for 1-500 chars and -long routes for 501-2000 chars."
  },
  "speed": {
   "type": "number",
   "maximum": 2,
   "minimum": 0.7,
   "description": "Pro/Custom expressive speed control, 0.7-2.0. Presets: slow 0.7, normal 1.0, fast 1.3, rapid 1.6"
  },
  "steps": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1,
   "description": "Pro/Custom quality control, 1-100. Presets: draft 4, standard 8, high 16, ultra 24"
  },
  "voice": {
   "enum": [
    "M1",
    "M2",
    "M3",
    "M4",
    "M5",
    "F1",
    "F2",
    "F3",
    "F4",
    "F5"
   ],
   "type": "string",
   "description": "Standard voice: M1-M5 or F1-F5"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-pro-text-to-speech-0b986509/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tts.forgemesh.io](https://www.zero.xyz/host/tts.forgemesh.io/llms.txt)
