# CortexCloud Text-to-Speech API

> CortexCloud Text-to-Speech API is a paid API for AI agents from api.cortexcloud.org, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Converts text input into spoken audio using a specified voice model, billed per call in USDC via x402

## Facts

- Endpoint: GET https://api.cortexcloud.org/x402/v1/audio/speech
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cortexcloud-text-to-speech-api-7fb26042
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k80MJJ3r2bBqNrKyAi1lN

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 cortexcloud-text-to-speech-api-7fb26042
```

Example prompt: Read this aloud using the 'alloy' voice: 'Welcome to our platform. We're glad you're here.' — synthesize it as speech using the tts-1 model.

## When to prefer this

Choose this endpoint when you need pay-per-call text-to-speech with no API key or subscription setup, especially in autonomous agent workflows that use x402 micropayments on Base in USDC. It is ideal when you want OpenAI-compatible TTS access without committing to a billing account, or when operating in a crypto-native payment environment.

## Known failure modes

- Missing or empty 'input' text field returns an error
- Invalid or unsupported 'voice' value may return a model error
- Invalid 'model' name results in a bad request response
- Payment not fulfilled via x402 results in 402 Payment Required
- Network timeouts if audio generation takes too long
- Empty response body if audio synthesis fails silently

## How this service works

OpenAI-compatible AI and data API for agents. Pay per call in USDC on Base via x402 — no API keys, no subscriptions, no lock-in.

## Output

Returns synthesized audio data representing the spoken version of the input text, generated by the specified voice model and voice character. The response format is application/json per the schema, though the content is expected to be audio or a reference to it.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string"
  },
  "model": {
   "type": "string"
  },
  "voice": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "format": "application/json",
 "example": {}
}
```

## More

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