# PayWeave Replicate – google/nano-banana-pro-4k Prediction

> PayWeave Replicate – google/nano-banana-pro-4k Prediction is a paid API for AI agents from replicate.payweave.services, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-14).

Runs the google/nano-banana-pro-4k open-source AI model on Replicate via a pay-per-call API, returning model-specific outputs such as images, audio, or text.

## Facts

- Endpoint: POST https://replicate.payweave.services/models/google/nano-banana-pro-4k/predictions
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payweave-replicate-google-nano-banana-pro-4k-prediction-85a4e2ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qMXY251BoSCaTIYQpkhxH

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 payweave-replicate-google-nano-banana-pro-4k-prediction-85a4e2ee -d '<json body>'
```

Example prompt: Run the google/nano-banana-pro-4k model on Replicate through PayWeave with my input data and give me back the output URL — I'm okay paying $0.50 USDC per call.

## When to prefer this

Choose this endpoint when you specifically need to run the google/nano-banana-pro-4k model hosted on Replicate and want to pay per call in USDC without managing Replicate API keys or subscriptions. Ideal for agents that need on-demand, metered AI inference with crypto-native payment via the x402 protocol.

## Known failure modes

- Payment failure: insufficient USDC balance or x402 payment not accepted — results in 402 error
- Model error: the model itself returns an error, reflected in the 'error' field and status='failed'
- Invalid input: malformed or missing 'input' object causes a 400-level rejection
- Prediction canceled: status='canceled' if the job was stopped mid-run
- Timeout or cold start: model is slow to start, status may remain 'starting' or 'processing' for extended time
- CDN URL expiry: output URLs are only valid for ~24 hours after generation

## How this service works

Run open-source AI models — image, video, audio.

## Output

Returns a JSON object containing a Replicate prediction ID, model name, status (succeeded/failed/canceled/processing/starting), model-specific output (CDN URL for image or audio, or a string for text/vision models), timing metrics (total_time, predict_time), creation and completion timestamps, and the actual USD amount charged for the call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id",
  "model",
  "status",
  "error",
  "predicted_price_usd"
 ],
 "properties": {
  "id": {
   "type": "string",
   "description": "Replicate prediction ID."
  },
  "error": {
   "type": [
    "string",
    "null"
   ]
  },
  "model": {
   "type": "string"
  },
  "output": {
   "description": "Model-specific output. Image/audio models return CDN URLs (Replicate-hosted, ~24h TTL); vision-LLM models return a string; music models return a single audio URL or array."
  },
  "status": {
   "enum": [
    "succeeded",
    "failed",
    "canceled",
    "processing",
    "starting"
   ],
   "type": "string"
  },
  "metrics": {
   "type": "object",
   "properties": {
    "total_time": {
     "type": "number"
    },
    "predict_time": {
     "type": "number"
    }
   },
   "additionalProperties": false
  },
  "created_at": {
   "type": "string"
  },
  "completed_at": {
   "type": "string"
  },
  "predicted_price_usd": {
   "type": "string",
   "description": "USD charged for this call."
  }
 },
 "description": "Replicate prediction result with metadata.",
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payweave-replicate-google-nano-banana-pro-4k-prediction-85a4e2ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from replicate.payweave.services](https://www.zero.xyz/host/replicate.payweave.services/llms.txt)
