# PayWeave Replicate – Google Imagen 4 Ultra Image Generation

> PayWeave Replicate – Google Imagen 4 Ultra Image Generation is a paid API for AI agents from replicate.payweave.services, paid per call via x402, $0.12/call, status unknown (last checked 2026-09-15).

Generates ultra-high-quality images from text prompts using Google's Imagen 4 Ultra model, accessed via pay-per-call API with USDC micropayments.

## Facts

- Endpoint: POST https://replicate.payweave.services/models/google/imagen-4-ultra/predictions
- Price: $0.12/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-imagen-4-ultra-image-generation-20f3dbbb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AD60Bv4u8tAEq5N7_SNPJ

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-imagen-4-ultra-image-generation-20f3dbbb -d '<json body>'
```

Example prompt: Using Google Imagen 4 Ultra via Replicate, generate a photorealistic image of a snow-capped mountain at golden hour with a crystal-clear lake reflecting the peaks in the foreground.

## When to prefer this

Choose this endpoint when you need Google's highest-quality Imagen 4 Ultra image generation model via a pay-per-call micropayment API (no subscription required). Prefer this over generic Replicate access when you specifically want Imagen 4 Ultra's photorealistic quality and are comfortable with USDC-based x402 payments. Ideal for agents that need on-demand image generation without managing API keys or subscriptions.

## Known failure modes

- Payment failure: insufficient USDC balance or x402 payment not accepted, resulting in 402 response
- Model error: invalid or unsupported input parameters cause status='failed' with error message
- Timeout: model takes too long, returns status='canceled'
- CDN URL expiry: output image URL expires after ~24 hours making it inaccessible
- Rate limiting or quota exceeded on Replicate backend
- Processing state returned: prediction still in-flight, requires polling or retry

## How this service works

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

## Output

Returns a Replicate prediction object containing a unique prediction ID, model identifier, status (succeeded/failed/canceled/processing/starting), output (a CDN-hosted image URL with ~24-hour TTL), timing metrics (total_time, predict_time), 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-imagen-4-ultra-image-generation-20f3dbbb/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)
