# PayWeave Replicate – Recraft V4 Pro Image Generation

> PayWeave Replicate – Recraft V4 Pro Image Generation 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).

Generates high-quality images using Recraft's recraft-v4-pro model via a pay-per-call API gateway backed by Replicate.

## Facts

- Endpoint: POST https://replicate.payweave.services/models/recraft-ai/recraft-v4-pro/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-recraft-v4-pro-image-generation-feb1ffdd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GoBctp-iXn-x1e88b-BGI

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-recraft-v4-pro-image-generation-feb1ffdd -d '<json body>'
```

Example prompt: Generate a photorealistic image of a futuristic city skyline at dusk with neon lights reflecting on wet streets, using the recraft-v4-pro model.

## When to prefer this

Use this endpoint when you want to run Recraft's recraft-v4-pro image generation model without needing a Replicate account or subscription — paying per call with USDC via x402. Prefer this over direct Replicate API when you need crypto/stablecoin billing or agent-native pay-per-use access. Prefer over other image generators when specifically wanting Recraft V4 Pro quality and style.

## Known failure modes

- Payment failure: insufficient USDC balance or x402 payment not accepted, returns 402 Payment Required
- Model error: invalid or unsupported input parameters cause status=failed with an error string
- Timeout: model takes too long and returns status=canceled
- CDN URL expiry: output URLs are only valid for ~24 hours after generation
- Service unavailable: upstream Replicate outage causes failed or stuck prediction

## How this service works

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

## Output

Returns a Replicate prediction object containing a prediction ID, model name, status (succeeded/failed/canceled/processing/starting), the generated image as a Replicate-hosted CDN URL (valid ~24 hours), timing metrics (predict_time, total_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-recraft-v4-pro-image-generation-feb1ffdd/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)
