# GlianaAI — nano-banana-2-lite (text-to-image)

> GlianaAI — nano-banana-2-lite (text-to-image) is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.04644/call, status unknown (last checked 2026-09-15).

Generates an image from a text prompt using the nano-banana-2-lite model via pay-per-call USDC billing on GlianaAI.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/nano-banana-2-lite
- Price: $0.04644/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-nano-banana-2-lite-text-to-image-f474806b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IpHHJ_K2FiwyUdyfUUKOa

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-nano-banana-2-lite-text-to-image-f474806b
```

Example prompt: Can you generate an image of a sun-drenched Moroccan rooftop at golden hour with terracotta pots and trailing bougainvillea using GlianaAI's nano-banana-2-lite model?

## When to prefer this

Choose this endpoint when you need fast, low-cost text-to-image generation without any signup or subscription, paying only $0.046 per call in USDC. Prefer nano-banana-2-lite over heavier models (flux-2-pro, imagen-4, grok-imagine) when speed and cost efficiency matter more than maximum quality — it is the lightest variant in the nano-banana family. Ideal for high-throughput agent pipelines generating many images on demand with crypto micropayments.

## Known failure modes

- Insufficient USDC balance or failed x402 micropayment results in 402 Payment Required
- Empty or missing prompt body causes a 400 Bad Request
- Model temporarily unavailable returns a 503 or timeout error
- Generated image ID expires if the media URL is not retrieved promptly
- Malformed input JSON (wrong bodyType or method) returns a 422 validation error

## How this service works

GlianaAI - pay-per-call AI: LLM chat (OpenAI-compatible), image, video, music, speech - 90+ models, no signup, USDC. This resource: nano-banana-2-lite (Text-to-Image). https://ai.glianalabs.com

## Output

Returns a JSON object containing the model name ('nano-banana-2-lite') and an output object with a URL pointing to the generated image hosted on 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": "nano-banana-2-lite",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-nano-banana-2-lite-text-to-image-f474806b/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)
