# GlianaAI Music Generation (music-2.6)

> GlianaAI Music Generation (music-2.6) is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.192/call, status unknown (last checked 2026-09-13).

Generates music audio from a text prompt using the music-2.6 model, billed per call at $0.232 USDC via x402 with no API key required.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/music-2.6
- Price: $0.192/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-music-generation-music-2-6-15bb6e6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XO7N3EfnrCIkxQ4tbVN7G

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-music-generation-music-2-6-15bb6e6f
```

Example prompt: Can you generate a short upbeat electronic dance music track with a driving bassline and energetic synths — something that feels like a festival opener?

## When to prefer this

Choose this endpoint when you need AI-generated music from a text prompt, want to pay per call in USDC without an API key or subscription, and are operating in a crypto-native or agentic context using x402 micropayments on Base, Tempo, or Solana.

## Known failure modes

- Insufficient USDC balance causes payment failure and a 402 response
- Vague or unsupported prompt may yield low-quality or unexpected output
- Payment settlement failure on Tempo, Base, or Solana can block the request
- Model-specific input constraints not met if prompt format is incorrect — check GET /v1/schema?model= for details
- Network timeout if music generation takes longer than expected

## How this service works

GlianaAI - pay-per-call AI: LLM chat (OpenAI-compatible), image, video, music, speech - 90+ models, no signup, USDC. This resource: music-2.6 (Music Generation). https://ai.glianalabs.com

## Output

Returns a JSON object with the model name used (music-2.6), an output object containing a media URL or structured result for the generated music, and the amount charged in micro-USD.

## 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": "music-2.6",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-music-generation-music-2-6-15bb6e6f/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)
