# dopamint nano-banana-pro Image Generation

> dopamint nano-banana-pro Image Generation is a paid API for AI agents from x402-dev.dopamint.ai, paid per call via x402, $0.2025/call, status down (last checked 2026-09-15).

Generates images from a text prompt using the nano-banana-pro model, returning a job ID and status URL for async retrieval

## Facts

- Endpoint: POST https://x402-dev.dopamint.ai/api/ai/generations/images/nano-banana-pro
- Price: $0.2025/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-dev-dopamint-ai-eb9e03a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H32-OcbydbHLJxRiERY4k

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 x402-dev-dopamint-ai-eb9e03a7 -d '<json body>'
```

Example prompt: Generate an image of a futuristic neon-lit cityscape at night using nano-banana-pro, 2K resolution, 16:9 aspect ratio, PNG format.

## When to prefer this

Choose this endpoint when you need images generated by the nano-banana-pro model specifically, which may differ in style or quality from nano-banana or stable-diffusion-v35-large siblings on the same host. Prefer this when you need async job-based generation with status polling, support for up to 4K resolution, and multiple aspect ratios including portrait and landscape. Use this over the nano-banana variant when you want the pro-tier model quality at the $0.20 price point.

## Known failure modes

- Missing required 'prompt' field returns a 400 validation error
- Invalid resolution value (e.g. '8K') returns a schema validation error
- Invalid aspect_ratio value returns a validation error
- Payment failure or insufficient USDC balance returns a 402 Payment Required error
- Model unavailable or overloaded may return 503 or timeout
- Polling statusUrl may return pending status if job is still processing

## How this service works

Generate image using nano-banana-pro

## Output

Returns a JSON object containing a unique jobId, a human-readable message with a status tracking URL, the statusUrl itself for polling job completion, a timestamp, and an HTTP status code. The image is not returned directly — the agent must poll the statusUrl to retrieve the final result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "prompt"
 ],
 "properties": {
  "prompt": {
   "type": "string",
   "description": "The text prompt to generate an image from."
  },
  "sync_mode": {
   "type": "boolean",
   "description": "If `True`, the media will be returned as a data URI and the output data won't be available in the request history."
  },
  "num_images": {
   "type": "integer",
   "description": "The number of images to generate."
  },
  "resolution": {
   "type": "\"1K\" | \"2K\" | \"4K\"",
   "description": "The resolution of the image to generate."
  },
  "aspect_ratio": {
   "type": "\"21:9\" | \"16:9\" | \"3:2\" | \"4:3\" | \"5:4\" | \"1:1\" | \"4:5\" | \"3:4\" | \"2:3\" | \"9:16\"",
   "description": "The aspect ratio of the generated image."
  },
  "output_format": {
   "type": "\"jpeg\" | \"png\" | \"webp\"",
   "description": "The format of the generated image."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "jobId": {
  "type": "string",
  "description": "Unique job identifier"
 },
 "message": {
  "type": "string",
  "description": "Human-readable message with status tracking URL"
 },
 "statusUrl": {
  "type": "string",
  "description": "URL to check job status"
 },
 "timestamp": {
  "type": "string",
  "description": "ISO 8601 timestamp of the response"
 },
 "statusCode": {
  "type": "integer",
  "description": "HTTP status code"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-dev-dopamint-ai-eb9e03a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-dev.dopamint.ai](https://www.zero.xyz/host/x402-dev.dopamint.ai/llms.txt)
