# ApexAPI Text-to-Speech (TTS)

> ApexAPI Text-to-Speech (TTS) is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.080678/call, status unknown (last checked 2026-10-10).

Converts input text into synthesized audio speech using an AI text-to-speech engine, returning audio content.

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/ai/audio/tts?utm_source=zero.xyz
- Price: $0.080678/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-text-to-speech-tts-5ee7afb5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HNeUgeP0oHIc5I9BPFGKO

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 apexapi-text-to-speech-tts-5ee7afb5 -d '<json body>'
```

Example prompt: Can you convert this paragraph into spoken audio for me? Here's the text: 'Welcome to our platform. We're glad you're here and hope you enjoy your experience.'

## When to prefer this

Choose this endpoint when you need a pay-per-call, no-API-key text-to-speech conversion paid in USDC on Base via x402 protocol, and don't want to manage subscriptions or API credentials. Best for lightweight, on-demand TTS needs within the ApexAPI ecosystem.

## Known failure modes

- Empty or missing query/text input returns an error
- Input text too long may exceed limits or time out
- Payment failure in USDC on Base blocks the call
- Service unavailable or cold-start delay on Vercel deployment
- Unsupported characters or languages in input may produce garbled audio

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

The agent receives synthesized audio data (likely an audio file or base64-encoded audio) representing the spoken version of the provided input text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apexapi-text-to-speech-tts-5ee7afb5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
