# PayWeave Replicate – Google Imagen 4 Fast Image Generation

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

Generates images from text prompts using Google's Imagen 4 Fast model via a pay-per-call proxy on Replicate

## Facts

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

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-fast-image-generation-ec2f939e -d '<json body>'
```

Example prompt: Generate an image of a golden retriever puppy playing in a sunlit meadow with wildflowers using Google Imagen 4 Fast on Replicate.

## When to prefer this

Choose this endpoint when you need fast, high-quality image generation using Google's Imagen 4 Fast model specifically, want pay-per-call USDC billing via x402 without a subscription, and need a Replicate-hosted CDN URL as output. Prefer over generic Replicate direct access when you need x402 micropayment compatibility in an agent workflow.

## Known failure modes

- Model inference fails — status returns 'failed' with error message describing the failure
- Payment insufficient or rejected — HTTP 402 before inference begins
- Input schema malformed or missing required 'input' field — validation error returned
- Model is starting or still processing — status may be 'starting' or 'processing' requiring polling
- Generated image URL expires after ~24 hours — must be downloaded promptly
- Replicate upstream outage or model unavailability — error propagated from upstream

## How this service works

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

## Output

Returns a prediction object with a CDN-hosted image URL (valid ~24h), prediction ID, status (succeeded/failed/canceled/processing/starting), model name, timing metrics (total_time, predict_time), timestamps, and the USD cost 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-fast-image-generation-ec2f939e/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)
