# GlianaAI Grok Imagine — High-Quality Image Generation

> GlianaAI Grok Imagine — High-Quality Image Generation is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-13).

Generates a high-quality image from a text prompt using Grok's image model, billed per call in USDC via x402

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/grok-imagine-image-quality
- Price: $0.06/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-imagine-high-quality-image-generation-7f42eccf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wuv5rNQhd8gxd5UfgjbA4

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-imagine-high-quality-image-generation-7f42eccf
```

Example prompt: Generate a high-quality image of a lone wolf howling at a full moon over a snowy mountain range, cinematic lighting, ultra-detailed — use Grok Imagine and pay with USDC.

## When to prefer this

Choose this endpoint when you need high-quality image generation specifically via Grok's imagine model, want no-signup pay-per-call billing in USDC over x402, and are operating as an autonomous AI agent that can handle crypto micropayments natively. Prefer over alternatives when xAI's Grok visual style is desired or when integrating into a Base/Solana payment workflow.

## Known failure modes

- Payment not settled or insufficient USDC balance — x402 payment required before inference runs
- Prompt violates content policy — request rejected with policy error
- Model temporarily unavailable — 503 or timeout response
- Malformed prompt field — 400 validation error
- Network or gateway failure — 5xx error from api.glianalabs.com

## How this service works

GlianaAI — grok-imagine-image-quality (text-to-image)

## Output

A JSON object containing the model name used (e.g. 'grok-imagine-image-quality'), an output object with a media URL or structured result for the generated image, and the amount charged expressed 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": "grok-imagine-image-quality",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-grok-imagine-high-quality-image-generation-7f42eccf/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)
