# GlianaAI Speech-2.8-HD Text-to-Speech

> GlianaAI Speech-2.8-HD Text-to-Speech is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.109/call, status unknown (last checked 2026-09-13).

Converts a text prompt into high-definition speech audio using the speech-2.8-hd model, billed per call in USDC via x402.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/speech-2.8-hd
- Price: $0.109/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-speech-2-8-hd-text-to-speech-814795b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IZdtZHDdjVEqyCZVmsBbS

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-speech-2-8-hd-text-to-speech-814795b9
```

Example prompt: Can you convert this script into high-definition spoken audio using the speech-2.8-hd model: 'Welcome to our product demo. Today we'll walk you through the key features of our new platform.'

## When to prefer this

Choose this endpoint when you need high-definition AI-generated speech audio from text without requiring an API key or signup, and when your agent can pay per call in USDC via x402 or MPP on Base, Solana, or Tempo. Ideal for autonomous agents needing on-demand narration or voiceover generation in a pay-as-you-go model.

## Known failure modes

- Missing or empty prompt field returns a 400 validation error
- Insufficient USDC balance or payment failure results in a 402 Payment Required response
- Unsupported prompt format for the speech-2.8-hd model returns a model-specific error
- Network timeout if audio generation takes too long
- Invalid x402 payment headers result in authentication/payment rejection

## How this service works

GlianaAI — speech-2.8-hd (tts)

## Output

Returns a JSON object with the model name used, an output object containing a media URL or JSON with the generated audio file, and costMicroUsd indicating how much was charged in micro-USD for the 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": "speech-2.8-hd",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-speech-2-8-hd-text-to-speech-814795b9/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)
