# klymax402 Text-to-Speech API

> klymax402 Text-to-Speech API is a paid API for AI agents from klymax402.com, paid per call via x402, $0.012/call, status unknown (last checked 2026-09-15).

Converts text (up to 200 characters) into synthesized speech audio in multiple languages, returning base64-encoded audio data with format and MIME type metadata.

## Facts

- Endpoint: GET https://klymax402.com/api/text-to-speech/api/speak
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/klymax402-text-to-speech-api-a2d7250f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b6nKegmfmoMG_tAfD7Wgb

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 klymax402-text-to-speech-api-a2d7250f
```

Example prompt: Can you read this sentence aloud in Japanese: 'Welcome to our store, how can I help you today?' — give me the audio data back.

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.012/call), pay-per-use text-to-speech conversion without managing API keys or subscriptions, especially within an AI agent workflow on the x402/Base payment network. Ideal for short texts (under 200 characters) in one of the supported languages where you need raw audio data returned inline. Less suitable for long-form narration or when high-fidelity voice customization (speaker selection, speed, pitch) is required.

## Known failure modes

- Text exceeds 200 character limit — request will likely be rejected or truncated
- Unsupported language code provided — may default to English or return an error
- Empty text input — likely returns an error or empty audio
- Payment failure via x402 — call is not executed if USDC payment of $0.012 on Base is not completed
- Network timeout if audio generation takes too long

## How this service works

One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.

## Output

Returns a JSON object containing: 'audio' (base64-encoded audio data), 'format' (audio format identifier), 'language' (the language code used), 'mimeType' (MIME type of the audio, e.g. audio/mp3), 'textLength' (character count of input text), and 'audioSizeBytes' (size of the audio output in bytes).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The text to convert to speech (max 200 characters per request)"
  },
  "language": {
   "type": "string",
   "description": "Language code: en, fr, es, de, it, pt, ja, ko, zh, ar, ru, hi, etc. (default: en)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "audio": "example",
  "format": "example",
  "language": "example",
  "mimeType": "example",
  "textLength": 1,
  "audioSizeBytes": 1
 }
}
```

## More

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