# GlianaAI KREA-2-Large Image Generation

> GlianaAI KREA-2-Large Image Generation is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.072/call, status unknown (last checked 2026-09-15).

Generates high-quality images using the KREA-2-Large model via pay-per-call USDC payment on Base/Solana/Tempo

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/krea-2-large
- Price: $0.072/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-krea-2-large-image-generation-2ff4c081
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RQ0KekPOP_cVhZohA9QOW

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-krea-2-large-image-generation-2ff4c081
```

Example prompt: Generate a photorealistic image of a misty mountain lake at sunrise with golden light reflecting off the water using KREA-2-Large — I'll pay per call in USDC.

## When to prefer this

Use this endpoint when you need KREA-2-Large specifically for high-fidelity image generation, want no-signup pay-per-call billing in USDC via x402 protocol, and are operating an autonomous agent on Base, Tempo, or Solana that can settle micro-payments programmatically without pre-registered API keys.

## Known failure modes

- 402 Payment Required if USDC payment via x402/MPP is not attached or insufficient
- 400 Bad Request if prompt field is missing or malformed
- 503 if KREA-2-Large model is temporarily unavailable upstream
- Timeout if the image generation takes too long on the provider side
- Invalid output if the prompt violates content policy

## 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 ('krea-2-large'), an output object with a media URL or structured result for the generated image, and the amount charged in micro-USD (costMicroUsd integer).

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-krea-2-large-image-generation-2ff4c081/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)
