# x402engine Imagen Nano Image Generation

> x402engine Imagen Nano Image Generation is a paid API for AI agents from x402engine.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Generates high-quality images from text prompts using Google's Imagen Nano model with configurable aspect ratio and output format

## Facts

- Endpoint: POST https://x402engine.app/api/image/nano-banana
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402engine-imagen-nano-image-generation-6b00dd8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oruZodCrfbT2_-5ZgBvTS

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 x402engine-imagen-nano-image-generation-6b00dd8c -d '<json body>'
```

Example prompt: Generate an image of a cyberpunk cityscape at sunset with neon signs in 16:9 aspect ratio and save it as a PNG.

## When to prefer this

Choose this endpoint when you need fast, high-quality image generation backed by Google's Imagen Nano model via a simple pay-per-call micropayment (no subscription required). Ideal for AI agents that need to generate images on demand without managing API keys or subscriptions, and when aspect ratio control and multiple output formats (PNG, JPEG, WebP) are needed. Best for agents operating within the x402 payment protocol ecosystem.

## Known failure modes

- Invalid or missing prompt — returns validation error
- Unsupported aspect ratio value — returns schema error
- Prompt exceeds 50,000 character limit — rejected with error
- Payment failure or insufficient USDC balance — HTTP 402 response
- Unsafe or policy-violating prompt — content filtered and rejected

## How this service works

Google's fast, high-quality image generation with aspect ratio control and optional web search

## Output

Returns a generated image file (PNG, JPEG, or WebP) matching the text prompt, rendered at the specified aspect ratio. The image is produced by Google's Imagen Nano model and is ready for direct use or download.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "seed": {
       "type": "number",
       "example": 42,
       "description": "Random seed for reproducibility"
      },
      "prompt": {
       "type": "string",
       "example": "a cyberpunk cityscape at sunset with neon signs",
       "description": "Text description of image to generate (up to 50,000 chars)"
      },
      "aspect_ratio": {
       "type": "string",
       "default": "1:1",
       "example": "16:9",
       "description": "Output aspect ratio (auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16)"
      },
      "output_format": {
       "type": "string",
       "default": "png",
       "example": "png",
       "description": "Image format: png, jpeg, or webp"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402engine-imagen-nano-image-generation-6b00dd8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402engine.app](https://www.zero.xyz/host/x402engine.app/llms.txt)
