# httpay.xyz Replicate AI API Gateway

> httpay.xyz Replicate AI API Gateway is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Proxies POST requests to the Replicate AI API through a pay-per-call x402 gateway, enabling access to any Replicate model or endpoint

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/replicate/%7B*path%7D/*
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-8d2a5e25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gysujMriqc4D-Hm3Yoxwq

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 httpay-xyz-8d2a5e25 -d '<json body>'
```

Example prompt: Run a Replicate inference request by forwarding this payload to the stability-ai/stable-diffusion model path — I want to generate an image of a sunset over the ocean.

## When to prefer this

Use this endpoint when you need to call any Replicate AI model without managing your own Replicate API key, prefer per-call micropayment billing via x402/USDC, or want to integrate Replicate inference into an agentic workflow that handles payments programmatically. Prefer over direct Replicate API access when operating in a headless or agent context that uses x402 payment protocols.

## Known failure modes

- Payment not provided or insufficient — x402 payment required error
- Invalid or non-existent Replicate model path — 404 or upstream error
- Malformed request body — Replicate returns 422 validation error
- Replicate API unavailable or rate-limited — 502 or 503 upstream error
- Model cold start timeout — request times out waiting for Replicate
- Missing required model input parameters — error from Replicate inference engine

## How this service works

API Gateway: Replicate AI API

## Output

Returns the raw Replicate API response for the specified model path, including inference outputs such as generated images, text completions, or other model results, proxied transparently through the gateway.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-8d2a5e25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from httpay.xyz](https://www.zero.xyz/host/httpay.xyz/llms.txt)
