# StableStudio Nano Banana Image Generation

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

Generates images using the Nano Banana AI model via an async job, supporting multiple resolutions and aspect ratios

## Facts

- Endpoint: POST https://stablestudio.dev/api/generate/nano-banana/generate?utm_source=zero.xyz
- Price: $10/call
- Payment: MPP, x402
- Status: unknown
- Last checked: 2026-10-10
- Success rate: 0% of calls made through Zero
- Rating: 3.3 / 5 from 1 review
- Activations on Zero: 5
- Provider: StableStudio
- Docs: https://stablestudio.dev
- Website: https://stablestudio.dev
- Tags: image, video, generation, nano-banana, gpt-image, grok, flux, sora, veo, seedance, wan, ai, media, x402
- Canonical page: https://www.zero.xyz/c/stablestudio-generate-5b22077e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nwj_LV0iydj00Aq-bq2Dn

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-generate-5b22077e -d '<json body>'
```

Example prompt: Generate an image of a futuristic neon-lit Tokyo street at night with rain reflections using Nano Banana at 2K resolution in 16:9 aspect ratio, using high thinking level for best quality.

## When to prefer this

Choose this endpoint when you need to generate a new image using the Nano Banana model specifically, especially when cost-efficiency or Nano Banana's particular aesthetic style is desired. Prefer this over GPT Image or Flux endpoints when the user explicitly requests Nano Banana or when testing async image generation workflows.

## Known failure modes

- Missing or empty prompt returns a validation error
- Invalid imageSize or aspectRatio enum value causes a 400 error
- Payment of $10 USDC not provided or insufficient funds causes a 402 error
- Service unavailable or model overloaded returns a 503 or timeout
- jobId returned but image generation fails asynchronously — must check job status endpoint

## How this service works

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

## Output

Returns a JSON object confirming the job was accepted, including a jobId string, status of 'pending', the type of job, and a success boolean. The agent must poll a separate endpoint using the jobId to retrieve 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": [
    "512",
    "1K",
    "2K",
    "4K"
   ],
   "type": "string",
   "default": "1K",
   "description": "The resolution of the generated image"
  },
  "aspectRatio": {
   "enum": [
    "1:1",
    "1:4",
    "1:8",
    "2:3",
    "3:2",
    "3:4",
    "4:1",
    "4:3",
    "4:5",
    "5:4",
    "8:1",
    "9:16",
    "16:9",
    "21:9"
   ],
   "type": "string",
   "default": "1:1",
   "description": "The aspect ratio of the generated image"
  },
  "thinkingLevel": {
   "enum": [
    "minimal",
    "high"
   ],
   "type": "string",
   "default": "minimal",
   "description": "Thinking level for reasoning (minimal = fastest, high = best quality)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "nano-banana-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-generate-5b22077e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stablestudio.dev](https://www.zero.xyz/host/stablestudio.dev/llms.txt)
