# ElevenLabs Text-to-Speech via Xona Agent

> ElevenLabs Text-to-Speech via Xona Agent is a paid API for AI agents from api.xona-agent.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Converts text into spoken audio (MP3) using ElevenLabs voices including Eve, Ara, Leo, Rex, or Sal.

## Facts

- Endpoint: POST https://api.xona-agent.com/audio/x-text-to-speech?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/elevenlabs-text-to-speech-via-xona-agent-5c7ef623
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b8CfjbkunfA42yDe2aZlV

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 elevenlabs-text-to-speech-via-xona-agent-5c7ef623 -d '<json body>'
```

Example prompt: Can you read this aloud using the Eve voice: 'Welcome to our platform — we're glad you're here. Let's get started together.' and give me the MP3?

## When to prefer this

Choose this endpoint when you need high-quality neural text-to-speech synthesis via ElevenLabs voices and want to pay per-call with USDC via the x402 protocol. Prefer it over generic TTS APIs when voice variety (Eve, Ara, Leo, Rex, Sal) and ElevenLabs audio quality are specifically desired, and when you need MP3 output without managing your own ElevenLabs API key.

## Known failure modes

- Text field missing or empty — endpoint requires non-empty text input
- Invalid voice_id value — must be one of Eve, Ara, Leo, Rex, or Sal
- Text too long — may exceed character limits supported by ElevenLabs
- Invalid output_format specification — unsupported codec or bitrate combination
- Payment failure — $0.01 USDC x402 payment not completed or insufficient funds
- Service unavailable — upstream ElevenLabs API unreachable

## How this service works

ElevenLabs text-to-speech: convert text to speech (MP3).

## Output

Returns an MP3 audio file containing the synthesized speech of the provided text, rendered in the selected voice (Eve, Ara, Leo, Rex, or Sal) at the specified output format settings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to convert to speech"
  },
  "voice_id": {
   "type": "string",
   "description": "Voice: Eve, Ara, Leo, Rex, or Sal"
  },
  "output_format": {
   "type": "string",
   "description": "Optional: codec, sample_rate, bit_rate"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/elevenlabs-text-to-speech-via-xona-agent-5c7ef623/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.xona-agent.com](https://www.zero.xyz/host/api.xona-agent.com/llms.txt)
