# GlianaAI — Flux 1 Kontext Max Image Generation

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

Generates images using the Flux 1 Kontext Max model via pay-per-call USDC payment on GlianaAI's inference platform

## Facts

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

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-max-image-generation-ce7acfcd
```

Example prompt: Generate an image of a serene Japanese zen garden at golden hour with cherry blossoms falling, ultra-detailed and photorealistic, using Flux 1 Kontext Max — pay with USDC.

## When to prefer this

Choose this endpoint when you need Flux 1 Kontext Max specifically — Black Forest Labs' highest-capability model — for maximum image quality and detail, and want to pay per call in USDC without any subscription or account signup. Prefer this over other GlianaAI image endpoints (like imagen-4 or nano-banana) when you need Flux's particular aesthetic and context-handling strengths. Prefer over self-hosted inference when you want zero infrastructure overhead.

## Known failure modes

- Insufficient USDC balance or failed x402 payment — request rejected before processing
- Invalid or missing prompt body — returns error due to required 'input' field
- Model unavailable or overloaded — may return 5xx error
- Generated image URL expires or becomes unavailable after a retention period
- Malformed request body type — only 'json', 'form-data', or 'text' accepted

## 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 with the model name ('flux-1-kontext-max') and an output object containing a URL pointing to the generated image hosted at api.glianalabs.com/v1/media/<id>. The image can be downloaded from that URL.

## 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-max",
  "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-max-image-generation-ce7acfcd/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)
