# GlianaAI — Flux 1 Kontext Pro Image Generation

> GlianaAI — Flux 1 Kontext Pro Image Generation is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.048/call, status unknown (last checked 2026-09-13).

Generates images using the Flux 1 Kontext Pro model via a pay-per-call API endpoint, returning a hosted media URL

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/flux-1-kontext-pro
- Price: $0.048/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-flux-1-kontext-pro-image-generation-c3d07edc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xEzGcVSvpEL1YZ7J-cKtk

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-flux-1-kontext-pro-image-generation-c3d07edc
```

Example prompt: Generate an image of a golden retriever running through a sunlit wheat field using Flux 1 Kontext Pro — pay per call with USDC, no account needed.

## When to prefer this

Choose this endpoint when you need Flux 1 Kontext Pro specifically for high-quality image generation and want to pay per call in USDC without a subscription or signup. Ideal for agents or workflows that generate images sporadically and want micropayment-based billing on Base, Solana, Algorand, BNB Chain, or Tempo. Prefer over subscription-based alternatives when usage is unpredictable or low-volume.

## Known failure modes

- Insufficient USDC balance or payment failure — request rejected with 402 Payment Required
- Invalid or missing request body — returns 400 Bad Request
- Model temporarily unavailable or overloaded — may return 503 or timeout
- Malformed prompt or unsupported body type — returns validation error
- Network or upstream inference provider failure — returns 500 or gateway error

## 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 ('flux-1-kontext-pro') and an output object with a 'url' field pointing to the hosted generated image at 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": "flux-1-kontext-pro",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-flux-1-kontext-pro-image-generation-c3d07edc/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)
