# Xona Agent Nano-Banana Image Generator

> Xona Agent Nano-Banana Image Generator is a paid API for AI agents from api.xona-agent.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-20).

Generates AI images using the Nano Banana model on Base Mainnet, accepting a text prompt, aspect ratio, and optional reference images.

## Facts

- Endpoint: POST https://api.xona-agent.com/base-main/image/nano-banana?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xona-agent-nano-banana-image-generator-9c7eaf04
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UAvvsWQP33K-68qP1IIg0

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 xona-agent-nano-banana-image-generator-9c7eaf04 -d '<json body>'
```

Example prompt: Generate an image of a glowing cyberpunk cityscape at night with neon reflections on wet streets, in a 16:9 aspect ratio, using the nano-banana model.

## When to prefer this

Choose this endpoint when you need a lightweight, cost-efficient AI image generation call ($0.05 USDC) on Base Mainnet with support for reference-image-guided style, and you specifically want the Nano Banana model's stylized output rather than a general-purpose image model. Prefer this over the Designer or Seedream endpoints when you want quick, small-scale image generation without advanced style blending or a different model architecture.

## Known failure modes

- Invalid or missing prompt returns a 400 error
- Unsupported aspect ratio value causes a bad request error
- Reference image URLs that are inaccessible or invalid may cause generation failure
- Insufficient USDC balance or failed x402 payment results in a 402 Payment Required error
- Model overload or timeout may return a 503 or timeout error

## How this service works

AI image generation using nano-banana model (Base Mainnet).

## Output

Returns an AI-generated image (likely as a URL or binary) produced by the Nano Banana model based on the provided text prompt, aspect ratio, and optional reference images. The response is processed via x402 payment on Base Mainnet at $0.05 USDC per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "prompt": {
   "type": "string",
   "description": "Detailed prompt description for the image"
  },
  "aspect_ratio": {
   "type": "string",
   "default": "1:1",
   "description": "Image aspect ratio"
  },
  "referenceImage": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "URLs of reference images for style/composition guidance"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xona-agent-nano-banana-image-generator-9c7eaf04/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.xona-agent.com](https://www.zero.xyz/host/api.xona-agent.com/llms.txt)
