# GlianaAI Grok TTS — Text-to-Speech via x402 Pay-Per-Call

> GlianaAI Grok TTS — Text-to-Speech via x402 Pay-Per-Call is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.017/call, status unknown (last checked 2026-09-13).

Converts a text prompt to speech audio using Grok TTS, billed per call at $0.0175 USDC via x402 micropayment — no API key required.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/grok-tts
- Price: $0.017/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-grok-tts-text-to-speech-via-x402-pay-per-call-4693fa37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T_K-QOcUuWOKeJMmRWUmg

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 glianaai-grok-tts-text-to-speech-via-x402-pay-per-call-4693fa37
```

Example prompt: Use Grok TTS to read this aloud: 'Welcome to the future of AI-powered assistants — your experience starts now.' Charge my USDC wallet via x402.

## When to prefer this

Choose this endpoint when you need Grok-powered TTS specifically, want no-signup pay-per-call pricing via x402/USDC micropayments, and need a simple single-field JSON input. Prefer this over OpenAI TTS or ElevenLabs when running an autonomous agent with a crypto wallet that can settle micropayments programmatically without managing API keys.

## Known failure modes

- Payment failure — insufficient USDC balance or x402 payment not accepted; returns 402 Payment Required
- Missing required 'prompt' field — returns 400 Bad Request
- Model unavailable or overloaded — returns 503 or timeout
- Prompt too long or malformed — returns 400 with validation error
- Network error reaching api.glianalabs.com — connection timeout

## How this service works

One endpoint for 90+ generative AI models, live market data, SEC filings and identity APIs — image, video, music, speech, LLM chat, crypto and FX rates, DEX liquidity, gas, US company fundamentals and insider trades, document OCR and face matching. Pay per request in USDC on Tempo, Base, Solana, Algorand or BNB Chain with no signup, or top up a prepaid balance in rupiah.

## Output

Returns a JSON object containing the model name ('grok-tts'), an output object with a media URL or audio data for the synthesized speech, and costMicroUsd indicating how much was charged in micro-USD for this call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "grok-tts",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-grok-tts-text-to-speech-via-x402-pay-per-call-4693fa37/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
