# Autopilot Studio Text-to-Speech

> Autopilot Studio Text-to-Speech is a paid API for AI agents from autopilot-studio.kariguetoazul.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Converts text (up to 600 characters) into a base64-encoded WAV audio file using the MeloTTS model, supporting six languages.

## Facts

- Endpoint: POST https://autopilot-studio.kariguetoazul.workers.dev/v1/tts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/autopilot-studio-text-to-speech-478173c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1my40KyCJhNZY8yCXzyrY

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 autopilot-studio-text-to-speech-478173c2 -d '<json body>'
```

Example prompt: Can you turn this text into spoken audio in English using MeloTTS: 'Welcome to Autopilot Studio, your daily source of AI-generated art and stories.'

## When to prefer this

Choose this endpoint when you need lightweight, multilingual text-to-speech synthesis returning a base64 WAV file, especially for short texts (under 600 chars) in English, Spanish, French, Chinese, Japanese, or Korean. It is cost-effective at $0.01 per call via x402 and runs on Cloudflare Workers for low-latency global access. Prefer it for quick narration, accessibility overlays, or voice snippets rather than long-form audiobook generation.

## Known failure modes

- Text exceeds 600 characters — likely returns an error or truncation
- Unsupported language code passed outside of [en, es, fr, zh, jp, kr] — validation error
- Empty text input — may return an error or silent audio
- Network timeout on Cloudflare Worker — transient 502/503 error
- Payment failure via x402 protocol — 402 response, audio not returned

## How this service works

AI-made art, prompts, stories and guides — fresh every day.

## Output

Returns a JSON object containing the language code used, a base64-encoded WAV audio file (16-bit PCM at 44.1 kHz), the number of characters processed, the model name ('melotts'), and the MIME type ('audio/wav'). The agent must decode the base64 string to obtain a playable WAV file.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lang": {
   "enum": [
    "en",
    "es",
    "fr",
    "zh",
    "jp",
    "kr"
   ],
   "type": "string"
  },
  "text": {
   "type": "string",
   "description": "text to speak (max 600 chars)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lang": "en",
  "audio": "<base64 WAV, 16-bit PCM 44.1 kHz>",
  "chars": 53,
  "model": "melotts",
  "mimeType": "audio/wav"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/autopilot-studio-text-to-speech-478173c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from autopilot-studio.kariguetoazul.workers.dev](https://www.zero.xyz/host/autopilot-studio.kariguetoazul.workers.dev/llms.txt)
