# ForgeMesh Voice Synthesis

> ForgeMesh Voice Synthesis is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Converts text (up to 2000 characters) into a natural-sounding WAV audio file using one of ten voice presets (5 male, 5 female), returned as base64.

## Facts

- Endpoint: POST https://x402.forgemesh.io/voice-synthesis
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-voice-synthesis-06b68650
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gZYL08ttPaO_5PP6yrJQx

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-voice-synthesis-06b68650 -d '<json body>'
```

Example prompt: Read this notification aloud using a female voice (F1): 'Your order has been shipped and will arrive by Friday.' Give me the audio as a WAV file.

## When to prefer this

Choose this endpoint when you need a quick, privacy-friendly text-to-speech conversion with no account setup, returning a WAV audio file. Ideal for voice assistant responses, IVR prompt generation, or audio notifications where text is short (under 2000 chars) and one of ten preset voices suffices. Prefer this over full TTS platforms when you want pay-per-use pricing with no retained data.

## Known failure modes

- Text exceeds 2000 character limit — request rejected
- Invalid voice ID provided — falls back to default F1 or returns error
- Empty text field — synthesis fails with validation error
- Malformed JSON body — 400 bad request
- Payment not included or insufficient — 402 payment required

## How this service works

Voice synthesis API: converts written text (up to 2000 characters) into a natural-sounding spoken-word audio file, delivered as base64 WAV with a choice of five male and five female voice presets. No account or third-party key required, and text is never retained. Suited for voice assistants, IVR prompts, and turning written notifications into audio.

## Output

A base64-encoded WAV audio file containing the spoken rendition of the submitted text, synthesized using the selected voice preset. No text is retained after synthesis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to speak, max 2000 chars"
  },
  "voice": {
   "type": "string",
   "description": "Voice id, e.g. F1, M1 (default F1)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "voice": "F1",
  "characters": 38,
  "audio_base64": "UklGRiQAAABXQVZF...",
  "content_type": "audio/wav"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-voice-synthesis-06b68650/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
