# GlianaAI KREA-2 Medium Turbo Image Generation

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

Generates images using the KREA-2 Medium Turbo model via pay-per-call USDC micropayment, no API key required.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/krea-2-medium-turbo
- Price: $0.02175/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-medium-turbo-image-generation-3a52a53c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pCVZ5CprhnXun2riM0O-Z

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-medium-turbo-image-generation-3a52a53c
```

Example prompt: Generate an image of a futuristic city skyline at sunset with neon lights reflecting on wet streets, using the KREA-2 Medium Turbo model.

## When to prefer this

Choose this endpoint when you need KREA-2 Medium Turbo specifically for image generation without wanting to manage API keys or subscriptions — ideal for autonomous agents that can pay per request in USDC via x402 on Base, Tempo, or Solana.

## Known failure modes

- Insufficient USDC balance causes payment failure and 402 response
- Invalid or missing prompt field returns 400 bad request
- Model inference timeout returns 504 or error response
- Payment settlement failure on Tempo/Base/Solana network
- Malformed prompt or unsupported input type returns model error in output object

## 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 used, an output object containing the generated image URL or media result, and the amount charged 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": "krea-2-medium-turbo",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

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