# PayWeave Replicate – FLUX Schnell Image Generation (Pay-per-call)

> PayWeave Replicate – FLUX Schnell Image Generation (Pay-per-call) is a paid API for AI agents from replicate.payweave.services, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Generates images from text prompts using Black Forest Labs' FLUX Schnell model via Replicate, billed per call at $0.01 USDC.

## Facts

- Endpoint: POST https://replicate.payweave.services/models/black-forest-labs/flux-schnell/predictions
- Price: $0.01/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-flux-schnell-image-generation-pay-per-call-0036de8a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UfdbpBTBQve-G1-8fn_mR

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-flux-schnell-image-generation-pay-per-call-0036de8a -d '<json body>'
```

Example prompt: Generate an image of a golden retriever surfing at sunset on a tropical beach using the FLUX Schnell model — fast quality, photorealistic style.

## When to prefer this

Choose this endpoint when you need fast, high-quality text-to-image generation using Black Forest Labs' FLUX Schnell model specifically, and want pay-per-call pricing with crypto (USDC) billing via x402 rather than a subscription. Ideal for agents that generate images on-demand without a standing Replicate account.

## Known failure modes

- Model inference fails: status='failed' with non-null error string
- Payment rejected or insufficient balance: HTTP 402 before prediction starts
- Invalid or missing 'input' object: 400-level validation error
- Output URL expires after ~24h TTL: image no longer accessible
- Model is starting/queued: status='starting' or 'processing' with no output yet
- Prediction canceled: status='canceled' with null output

## How this service works

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

## Output

Returns a Replicate prediction object containing a unique prediction ID, the model name, a status field (succeeded/failed/canceled/processing/starting), the output as a CDN-hosted image URL (valid ~24 hours), timing metrics (predict_time, total_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-flux-schnell-image-generation-pay-per-call-0036de8a/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)
