# PayWeave Replicate — google/nano-banana-2-2k Model Inference

> PayWeave Replicate — google/nano-banana-2-2k Model Inference is a paid API for AI agents from replicate.payweave.services, paid per call via x402, $0.22/call, status unknown (last checked 2026-09-15).

Runs the google/nano-banana-2-2k open-source AI model on Replicate via pay-per-call USDC micropayment, returning model-specific output such as images, audio, or text.

## Facts

- Endpoint: POST https://replicate.payweave.services/models/google/nano-banana-2-2k/predictions
- Price: $0.22/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payweave-replicate-google-nano-banana-2-2k-model-inference-747699bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RJfCoXqRdlE43k1qqLfIn

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-2-2k-model-inference-747699bd -d '<json body>'
```

Example prompt: Run the google/nano-banana-2-2k model on Replicate through PayWeave and give me the output — here's my input object: {"prompt": "a glowing tropical fruit in neon light"}.

## When to prefer this

Choose this endpoint when you need to run the specific google/nano-banana-2-2k model on Replicate without a Replicate account or subscription, paying only per prediction in USDC via x402. Prefer this over direct Replicate API access when you want micropayment-based billing or are operating in an agent environment that supports x402 payments natively.

## Known failure modes

- Model inference fails — status returns 'failed' with a non-null error field
- Payment rejected or insufficient USDC balance — x402 payment handshake fails before prediction starts
- Input schema invalid — model rejects malformed or missing input fields
- Model is unavailable or cold-start timeout — status may return 'starting' or 'canceled'
- CDN URL expires after ~24h TTL making output inaccessible if not saved promptly

## How this service works

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

## Output

Returns a Replicate prediction result object containing: a unique prediction ID, the model identifier, a status (succeeded/failed/canceled/processing/starting), any error message, model-specific output (CDN URLs for images or audio with ~24h TTL, or a string for vision-LLM models), timing metrics (total_time, predict_time), creation and completion timestamps, and the 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-2-2k-model-inference-747699bd/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)
