# GEDX402 MeloTTS Text-to-Speech

> GEDX402 MeloTTS Text-to-Speech is a paid API for AI agents from media.gedx402.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Converts text to speech audio using the MeloTTS model, returning base64-encoded audio, payable with USDC via x402 protocol

## Facts

- Endpoint: GET https://media.gedx402.com/v1/tts/melotts
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-melotts-text-to-speech-43d84ec4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-CKwUfew8rRxchMpbyyqi

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 gedx402-melotts-text-to-speech-43d84ec4
```

Example prompt: Use MeloTTS to read this sentence aloud and give me the audio: 'Welcome to our podcast, today we discuss the future of AI.' Use the default voice.

## When to prefer this

Choose this endpoint when you need TTS synthesis without API key registration, prefer paying per call with USDC on-chain (Base, Polygon, Arbitrum, World, or Solana), and specifically want MeloTTS voice quality via the x402 micropayment protocol.

## Known failure modes

- Payment not provided or insufficient USDC — HTTP 402 returned
- Invalid or unsupported voice ID provided — model may fall back to default or return error
- Text input too long — may be truncated or rejected
- Network timeout on audio generation for very long inputs
- Unsupported payment chain provided

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

A JSON object containing a base64-encoded audio string representing the synthesized speech for the provided text input, ready to decode and play back.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to synthesize into speech."
  },
  "voice": {
   "type": "string",
   "description": "Optional voice id when the model supports multiple voices."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "audio": "<base64>"
 }
}
```

## More

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