# GlianaAI Inkling — Pay-Per-Call Text-to-Image Generation

> GlianaAI Inkling — Pay-Per-Call Text-to-Image Generation is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.009054/call, status unknown (last checked 2026-09-15).

Generates an image from a text prompt using the Inkling model via GlianaAI's pay-per-call inference platform, returning a hosted media URL.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/inkling
- Price: $0.009054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-inkling-pay-per-call-text-to-image-generation-5eaddbb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zcSC6d5JAq9GquWjROJkh

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-inkling-pay-per-call-text-to-image-generation-5eaddbb8
```

Example prompt: Using GlianaAI's Inkling model, generate an image of a misty Japanese forest at dawn with soft golden light filtering through the trees.

## When to prefer this

Choose this endpoint when you need text-to-image generation with no account signup, paying per call in USDC on Base, Tempo, or Solana. It is specifically suited for agents operating in Web3 or crypto-native workflows, or for lightweight integrations where a subscription model is not desired. Prefer this over the other GlianaAI image endpoints (flux-2-pro-preview, imagen-4, grok-imagine-image, etc.) when you specifically want the Inkling model's output style or are benchmarking Inkling against alternatives.

## Known failure modes

- Insufficient USDC balance or failed x402 payment — request rejected before inference runs
- Invalid or missing 'input' body fields (type, method, bodyType, body) — schema validation error
- Model unavailable or overloaded — inference timeout or 5xx error
- Malformed prompt input — may produce unexpected or low-quality image output
- Rate limiting if too many concurrent requests are submitted

## 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 ('inkling') and an output object with a 'url' field pointing to the hosted generated image at https://api.glianalabs.com/v1/media/<id>.

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-inkling-pay-per-call-text-to-image-generation-5eaddbb8/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)
