# StableStudio Nano Banana Pro Edit

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

Asynchronously generates an edited AI image using the nano-banana-pro model, returning a job ID for polling the result.

## Facts

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

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-edit-25277880 -d '<json body>'
```

Example prompt: Generate a 4MP photo-realistic image of a misty mountain forest at sunrise in 16:9 widescreen format as a PNG, with prompt upsampling turned on so the model can enhance the description.

## When to prefer this

Choose this endpoint when you need pay-per-use AI image generation without a subscription, specifically using the nano-banana-pro edit model. It is well-suited for agents that generate images on demand, need fine control over resolution (up to 4MP), aspect ratio, format, and safety settings, and want deterministic outputs via seed. Prefer this over subscription-based image APIs when cost predictability per generation is important.

## Known failure modes

- Missing required 'prompt' field returns a 400 validation error
- Prompt exceeding 10,000 characters is rejected
- Invalid enum value for resolution, aspect_ratio, or output_format returns a schema validation error
- output_quality outside 0-100 range is rejected
- safety_tolerance outside 1-5 range is rejected
- Insufficient USDC balance or failed x402 payment causes a 402 Payment Required error
- Model overload or service unavailability returns a 503 or timeout
- Job ID polling may be required before the image is ready; status remains 'pending' for variable durations

## How this service works

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

## Output

A JSON object containing: a job type identifier ('nano-banana-pro-edit'), a jobId string for polling the result, a status field (initially 'pending'), and a success boolean. The agent must use the jobId to retrieve the final generated image once processing completes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "images": {
   "type": "array",
   "items": {
    "type": "string",
    "format": "uri",
    "description": "URL of an image"
   },
   "maxItems": 14,
   "minItems": 1,
   "description": "Array of image URLs to use as reference for editing (1-14 images)"
  },
  "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-edit",
  "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-edit-25277880/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)
