# StableStudio Nano-Banana-Pro Image Generation

> StableStudio Nano-Banana-Pro Image Generation is a paid API for AI agents from stablestudio.io, paid per call via x402, $10/call, status unknown (last checked 2026-09-15).

Generates a single AI image from a text prompt using the nano-banana-pro model, returning a job ID for async retrieval

## Facts

- Endpoint: POST https://stablestudio.io/api/generate/nano-banana-pro/generate
- Price: $10/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stablestudio-nano-banana-pro-image-generation-aab11cb5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NLz2g6nhzTUhVAPFoAeGY

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

Example prompt: Generate a photorealistic 16:9 image of a misty mountain lake at sunrise with pine trees reflected in the water — use 4 MP resolution, PNG format, quality 95, and safety level 2.

## When to prefer this

Choose this endpoint when you need pay-per-use AI image generation with no subscription commitment, specifically when using the nano-banana-pro model via StableStudio. Prefer this over subscription-based services when generating images infrequently or when per-call USDC micropayment billing is acceptable. Best for agents that need fine-grained control over resolution (up to 4 MP), aspect ratio, output format, and seed reproducibility.

## Known failure modes

- Invalid or empty prompt returns a 400 validation error
- Resolution or aspect_ratio value outside enum causes schema validation failure
- Safety tolerance value outside 1-5 range causes a 400 error
- Payment of $10 USDC not provided or rejected causes a 402 payment required error
- Model backend unavailable may return 503 or a failed job status on polling
- Output quality outside 0-100 range causes validation failure

## How this service works

Pay-per-generation AI image and video creation. No subscriptions ever.

## Output

Returns a JSON object with a jobId string, a status field (initially 'pending'), a type identifier ('nano-banana-pro-generate'), and a success boolean. The agent must use the jobId to poll a separate endpoint for the completed image.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "prompt": {
   "type": "string",
   "minLength": 1,
   "description": "A detailed description of the image you want to generate"
  },
  "imageSize": {
   "enum": [
    "1K",
    "2K",
    "4K"
   ],
   "type": "string",
   "default": "1K",
   "description": "The resolution of the generated image"
  },
  "aspectRatio": {
   "enum": [
    "1:1",
    "2:3",
    "3:2",
    "3:4",
    "4:3",
    "4:5",
    "5:4",
    "9:16",
    "16:9",
    "21:9"
   ],
   "type": "string",
   "default": "1:1",
   "description": "The aspect ratio of the generated image"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "nano-banana-pro-generate",
  "jobId": "cmpbmzaee000j04jrzx4f43tw",
  "status": "pending",
  "pollUrl": "https://stablestudio.dev/api/jobs/cmpbmzaee000j04jrzx4f43tw",
  "success": true
 }
}
```

## More

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