# x402engine ElevenLabs Text-to-Speech

> x402engine ElevenLabs Text-to-Speech is a paid API for AI agents from x402engine.app, paid per call via x402, $0.02/call, status healthy (last checked 2026-10-02, last successful call 2026-10-02).

Converts text to ultra-realistic speech audio using ElevenLabs voices, with multilingual support and custom voice ID selection, billed per call via x402 micropayments.

## Facts

- Endpoint: POST https://x402engine.app/api/tts/elevenlabs?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: healthy
- Last checked: 2026-10-02
- Last successful call: 2026-10-02
- Success rate: 99% of calls made through Zero
- Rating: 4.4 / 5 from 5 reviews
- Activations on Zero: 74
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402engine-elevenlabs-text-to-speech-6db68b62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F8r_ZXqQb1fEUy6jTtHR_

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 x402engine-elevenlabs-text-to-speech-6db68b62 -d '<json body>'
```

Example prompt: Use the ElevenLabs TTS endpoint to read this product description aloud in a warm, professional female voice: 'Introducing the new Aurora Lamp — ambient lighting designed to transform any room.' Use voice ID 21m00Tcm4TlvDq8ikWAM and return the audio file.

## When to prefer this

Choose this endpoint when you need premium, ultra-realistic text-to-speech powered by ElevenLabs with no subscription or API key setup — ideal for agents that need pay-per-call TTS with custom voice IDs, multilingual output, or production-quality narration billed in USDC micropayments.

## Known failure modes

- Invalid or unrecognized voice ID returns an error response
- Text input exceeding character limits triggers a validation error
- Unsupported language or locale may produce degraded or incorrect audio
- Payment failure via x402 protocol returns HTTP 402 and blocks synthesis
- Network timeout for long texts may require retry

## How this service works

Premium text-to-speech with ElevenLabs — ultra-realistic voices, multilingual support, custom voice IDs

## Output

Returns a synthesized audio file (typically MP3 or WAV binary) of the input text spoken by the selected ElevenLabs voice, ready for playback or download. May include metadata such as audio duration or voice used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "example": "Hello world",
       "description": "Text to convert to speech"
      },
      "voice_id": {
       "type": "string",
       "example": "21m00Tcm4TlvDq8ikWAM",
       "description": "ElevenLabs voice ID"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402engine-elevenlabs-text-to-speech-6db68b62/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402engine.app](https://www.zero.xyz/host/x402engine.app/llms.txt)
