# GlianaAI Multi-Model AI Inference RPC

> GlianaAI Multi-Model AI Inference RPC is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Pay-per-call RPC gateway to 60+ generative AI models (image, video, audio, music, speech) settled in USDC via x402 with no API key required

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/tools/rpc
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-multi-model-ai-inference-rpc-839e37e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FbPlqyovvSYrpbbPiU_fa

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-multi-model-ai-inference-rpc-839e37e0
```

Example prompt: Using GlianaAI's pay-per-call RPC, generate an image of a futuristic city at sunset using the flux-2-pro-preview model — I'm okay paying in USDC per call, no need for an API key.

## When to prefer this

Choose this endpoint when your AI agent needs to invoke generative AI models (image, video, audio, music, speech) without any prior account registration or API key provisioning, and can settle micropayments in USDC on Base, Solana, or Tempo via x402. Ideal for autonomous agents that need flexible, pay-as-you-go access to a large catalog of 60+ models in a single RPC interface.

## Known failure modes

- Payment not settled — USDC transaction on Tempo/Base/Solana fails or is insufficient, returning 402 Payment Required
- Invalid model name or unsupported method — returns error if the specified model is not available in the 60+ model catalog
- Malformed request body — missing required fields (type, method, bodyType, body) returns a validation error
- Model inference timeout — generative model takes too long and returns a timeout error
- Network or RPC relay failure — the upstream model provider is unavailable

## How this service works

GlianaAI - pay-per-call AI + utility APIs (80+ models incl. LLM chat), no signup, USDC. This resource: tools/rpc. https://ai.glianalabs.com

## Output

A JSON response containing the output from the selected generative AI model — could be an image URL, audio file, video clip, or other media artifact depending on the model invoked, along with tool metadata.

## 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": {
  "tool": "tools/rpc"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-multi-model-ai-inference-rpc-839e37e0/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)
