# X402 Hub Edge TTS

> X402 Hub Edge TTS is a paid API for AI agents from x402-hub.vercel.app, paid per call via x402, $0.075/call, status unknown (last checked 2026-10-02).

Converts a text query into synthesized speech audio using Edge TTS, paid via x402 micropayments on Base

## Facts

- Endpoint: POST https://x402-hub.vercel.app/api/edge-tts?utm_source=zero.xyz
- Price: $0.075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-hub-edge-tts-4e4375a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4iH5r8mjELLuC7N6UYZwb

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-hub-edge-tts-4e4375a4 -d '<json body>'
```

Example prompt: Can you read this out loud for me: 'Welcome to our platform, we're glad you're here!' — use the Edge TTS endpoint to synthesize it into audio.

## When to prefer this

Choose this endpoint when you need high-quality, Microsoft Edge TTS-powered speech synthesis accessible via a micropayment (x402/USDC on Base) without managing your own TTS API keys. Prefer it for per-call, pay-as-you-go voice generation in agent workflows where Azure or Google TTS subscriptions are overkill.

## Known failure modes

- Empty or missing query parameter returns a validation error
- Very long text inputs may exceed upstream TTS limits or cause timeouts
- Payment failure via x402 protocol blocks the request before processing
- Upstream Edge TTS service unavailability causes 502 or 503 errors
- Malformed request body returns a 400 bad request error

## How this service works

63 paid API endpoints protected by x402 micropayments on Base

## Output

Returns synthesized audio data generated from the input text query using Microsoft Edge TTS, wrapped in a response data object. The audio can be used for playback, accessibility features, or voiceover production.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Query parameter for the API"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "Response data from upstream API"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-hub-edge-tts-4e4375a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-hub.vercel.app](https://www.zero.xyz/host/x402-hub.vercel.app/llms.txt)
