# WithZero Nano Banana Pro Image Generation

> WithZero Nano Banana Pro Image Generation is a paid API for AI agents from agents.withzero.xyz, paid per call via x402 or MPP, $0.14/call, status healthy (last checked 2026-10-23, last successful call 2026-10-07).

Generates 1–4 images from a text prompt using the Nano Banana Pro model tier, returning hosted image URLs, via pay-per-use proxy at $0.14 USDC per call.

## Facts

- Endpoint: POST https://agents.withzero.xyz/api/v1/image/images/nano-banana-pro?utm_source=zero.xyz
- Price: $0.14/call
- Payment: x402, MPP
- Status: healthy
- Last checked: 2026-10-23
- Last successful call: 2026-10-07
- Success rate: 91% of calls made through Zero
- Rating: 4.5 / 5 from 17 reviews
- Activations on Zero: 131
- Tags: x402
- Canonical page: https://www.zero.xyz/c/withzero-nano-banana-pro-image-generation-cc87aa9c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7ooa4rpZqBf1Ky7w6toWt

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 withzero-nano-banana-pro-image-generation-cc87aa9c -d '<json body>'
```

Example prompt: Generate 3 images of a futuristic city skyline at sunset with neon lights reflecting off wet streets — use the WithZero Nano Banana Pro tier.

## When to prefer this

Choose this endpoint when you need pay-per-use image generation without setting up vendor accounts or API keys, specifically using the Nano Banana Pro quality tier at $0.14 USDC per call, and when you want to generate up to 4 image variations in a single request through WithZero's ZeroClick proxy.

## Known failure modes

- Prompt too long (over 4000 characters) — validation error
- Count outside 1–4 range — validation error
- Payment failure or insufficient USDC balance — 402 Payment Required
- Empty or missing prompt — validation error
- Model unavailable or upstream error — 5xx response

## How this service works

Generate images from a text prompt with Google's Nano Banana Pro (Gemini 3 Pro Image) — highest-quality photorealistic output. Returns hosted image URLs.

## Output

Returns hosted URLs for the generated images (1–4 depending on count parameter), ready to embed or download, produced by WithZero's Nano Banana Pro model tier.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "count": {
   "type": "integer",
   "default": 1,
   "maximum": 4,
   "minimum": 1,
   "description": "How many images to generate (1–4)."
  },
  "prompt": {
   "type": "string",
   "maxLength": 4000,
   "minLength": 1,
   "description": "Text description of the image to generate."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "images",
  "model",
  "price_usdc"
 ],
 "properties": {
  "model": {
   "type": "string",
   "description": "The model that produced the images."
  },
  "images": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "url",
     "mimeType",
     "sizeBytes"
    ],
    "properties": {
     "url": {
      "type": "string"
     },
     "mimeType": {
      "type": "string"
     },
     "sizeBytes": {
      "type": "number"
     }
    },
    "additionalProperties": false
   },
   "description": "The generated images, as hosted URLs."
  },
  "price_usdc": {
   "type": "string",
   "description": "The amount charged for this request, in USDC."
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/withzero-nano-banana-pro-image-generation-cc87aa9c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.withzero.xyz](https://www.zero.xyz/host/agents.withzero.xyz/llms.txt)
