# GlianaAI Gen-4.5 Pay-Per-Call AI Inference

> GlianaAI Gen-4.5 Pay-Per-Call AI Inference is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $1.305/call, status unknown (last checked 2026-09-15).

Runs any of 59 generative AI models (image, video, audio, music, speech) via a single POST endpoint, charging $1.35 USDC per call with no signup or API key required.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/gen-4.5
- Price: $1.305/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-gen-4-5-pay-per-call-ai-inference-6984ccba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LKOc9UIZyO9UOdY21TT-K

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-gen-4-5-pay-per-call-ai-inference-6984ccba
```

Example prompt: Use GlianaAI to generate a photorealistic image of a red fox sitting in a snowy forest at dusk — pay per call in USDC, no API key needed, just send the prompt.

## When to prefer this

Choose this endpoint when your agent needs to call generative AI models (image, video, audio, music, speech) without managing API keys or subscriptions, and when you want to pay per call in USDC via x402 micropayments. Ideal for autonomous agents that need multi-modal generation across 59 models from a single endpoint with crypto-native billing.

## Known failure modes

- Payment insufficient or rejected — USDC balance too low for $1.35 per-call fee
- Invalid or missing prompt field — 400 error returned
- Unsupported model requested — model name not in the 59-model catalog
- Payment network unavailable — Tempo, Base, or Solana transaction fails
- Rate limit or capacity error on underlying model provider
- Malformed request body — missing required 'prompt' key
- x402 payment protocol handshake failure — MPP or facilitator not reachable

## 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 used, an output object with the media URL or structured result (image, video, audio, etc.), and the amount charged in micro-USD (costMicroUsd).

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-gen-4-5-pay-per-call-ai-inference-6984ccba/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)
