# PrimeAPI Text-to-Speech (TTS)

> PrimeAPI Text-to-Speech (TTS) is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.080678/call, status unknown (last checked 2026-09-13).

Converts text input into synthesized audio speech using an AI TTS engine, paid per call in USDC on Base.

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/ai/audio/tts
- Price: $0.080678/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-text-to-speech-tts-31f07361
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mphYzi14FgPYArPIMPvPs

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 primeapi-text-to-speech-tts-31f07361 -d '<json body>'
```

Example prompt: Can you convert this text to speech audio: 'Welcome to our platform. We're glad you're here.' — I need a synthesized voice clip I can use in my app.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call text-to-speech conversion without managing API keys, billed in USDC on Base via the x402 protocol. Suitable for agents that occasionally need voice output without committing to a subscription TTS service.

## Known failure modes

- Empty or missing query text returns an error
- Overly long input text may be truncated or rejected
- Payment failure in USDC on Base blocks the request
- Non-text or malformed input schema causes a 400 error
- Service unavailability returns a 5xx error

## 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 representing the spoken version of the input text, generated by an AI TTS model. The response is an audio object or file suitable for playback or further processing.

## 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/primeapi-text-to-speech-tts-31f07361/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
