# x402 AI Edge TTS (Text-to-Speech)

> x402 AI Edge TTS (Text-to-Speech) is a paid API for AI agents from x402-ai-peach.vercel.app, paid per call via x402, $0.075/call, status unknown (last checked 2026-09-14).

Converts text to speech audio using Microsoft Edge TTS voices, paid per-call via x402 micropayments

## Facts

- Endpoint: POST https://x402-ai-peach.vercel.app/api/edge-tts
- Price: $0.075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ai-edge-tts-text-to-speech-bf375aac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xJ94zqHTUB28O-pMj7eiw

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 x402-ai-edge-tts-text-to-speech-bf375aac -d '<json body>'
```

Example prompt: Using the Edge TTS endpoint, convert this script into spoken audio: 'Welcome to our platform. We are glad to have you here.' — stream the response back to me.

## When to prefer this

Choose this endpoint when you need pay-per-use text-to-speech without a subscription, especially when using Microsoft Edge TTS voices and you want to settle payments automatically via x402 USDC micropayments. Ideal for agents that need occasional TTS without committing to a monthly plan, or when building crypto-native workflows where on-chain payments are preferred.

## Known failure modes

- Payment failure if x402 micropayment of $0.075 USDC cannot be processed
- Invalid messages array format returns a 400 validation error
- Exceeding max_tokens limit may truncate audio output
- Network timeout during streamed response delivery
- Unsupported voice or language parameters may return empty content

## How this service works

Paid AI API endpoints via x402 micropayments

## Output

Returns a response object with a unique ID and a choices array containing the synthesized speech content. Each choice includes a message with role and content fields. When streaming is enabled, chunks are delivered progressively as the audio is generated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "messages"
 ],
 "properties": {
  "stream": {
   "type": "boolean",
   "description": "Stream response"
  },
  "messages": {
   "type": "array",
   "description": "Chat messages array"
  },
  "max_tokens": {
   "type": "integer",
   "description": "Max tokens"
  },
  "temperature": {
   "type": "number",
   "description": "Temperature"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "string",
   "description": "Response ID"
  },
  "choices": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "message": {
      "type": "object",
      "properties": {
       "role": {
        "type": "string"
       },
       "content": {
        "type": "string"
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-ai-edge-tts-text-to-speech-bf375aac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-ai-peach.vercel.app](https://www.zero.xyz/host/x402-ai-peach.vercel.app/llms.txt)
