# PayWeave Replicate – FLUX Fill Pro Inpainting (Pay-per-call)

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

Runs Black Forest Labs' FLUX Fill Pro model to perform AI-powered image inpainting and outpainting via a pay-per-call API.

## Facts

- Endpoint: POST https://replicate.payweave.services/models/black-forest-labs/flux-fill-pro/predictions
- Price: $0.1/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-fill-pro-inpainting-pay-per-call-7f72cf20
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_beFZO7uyx780Tt38q54RE

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-fill-pro-inpainting-pay-per-call-7f72cf20 -d '<json body>'
```

Example prompt: I have a photo with a distracting street sign I want removed — can you use FLUX Fill Pro to inpaint over the masked region and fill it in with a realistic continuation of the background?

## When to prefer this

Choose this endpoint when you specifically need Black Forest Labs' FLUX Fill Pro model for high-quality image inpainting or outpainting tasks and want to pay per call in USDC without managing a Replicate subscription. Ideal for agents that need on-demand generative image editing without pre-committed billing.

## Known failure modes

- Invalid or missing input parameters returns an error status with a descriptive error message
- Image URL is unreachable or format unsupported — prediction fails with an error field set
- Model inference times out or is canceled — status returns 'canceled' or 'failed'
- Payment failure (insufficient USDC) — HTTP 402 returned before prediction is created
- Output CDN URL expires after ~24 hours and becomes inaccessible

## How this service works

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

## Output

Returns a Replicate prediction object containing a CDN-hosted URL to the inpainted output image (valid ~24 hours), the prediction ID, status (succeeded/failed/canceled/processing/starting), any error message, processing time metrics, 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-fill-pro-inpainting-pay-per-call-7f72cf20/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)
