# Stableflare Replicate Video Generation

> Stableflare Replicate Video Generation is a paid API for AI agents from stableflare.dev, paid per call via x402, $1/call, status unknown (last checked 2026-09-16).

Creates an AI-generated video by submitting a prediction to Replicate via Stableflare's pay-per-request proxy, with no API key required — just pay $1 USDC per call.

## Facts

- Endpoint: POST https://stableflare.dev/api/replicate/predictions/create-video
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stableflare-replicate-video-generation-312064cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jj0_1Ku7s1pq7Jo6zmT4D

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 stableflare-replicate-video-generation-312064cd -d '<json body>'
```

Example prompt: Generate a short AI video of a sunset over ocean waves crashing on a rocky shore — use Replicate through Stableflare so I don't need to set up my own API key, and just pay the per-request fee.

## When to prefer this

Choose this endpoint when you need to run Replicate video generation models without setting up your own Replicate account or API key, and you want a simple pay-per-use model using USDC via the x402 protocol. Ideal for agents or developers who want frictionless access to AI video generation on demand.

## Known failure modes

- Payment not included or insufficient — 402 Payment Required
- Invalid or unsupported Replicate model identifier — 400 Bad Request
- Malformed input parameters for the specified model — 422 Unprocessable Entity
- Replicate upstream timeout or service unavailability — 503 Service Unavailable
- Generated video prediction fails on Replicate side — prediction status returns 'failed'

## How this service works

Pay-per-request access to Replicate AI and Cloudflare Browser Rendering. No API keys, no subscriptions.

## Output

Returns a Replicate prediction object including a prediction ID, current status (e.g. 'starting'), and eventually URLs to the generated video output once processing completes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "description": "Model input parameters",
   "propertyNames": {
    "type": "string"
   },
   "additionalProperties": {}
  },
  "model": {
   "type": "string",
   "description": "Model identifier as owner/name (e.g. 'black-forest-labs/flux-schnell'). Must be an official Replicate model."
  },
  "webhook": {
   "type": "string",
   "format": "uri",
   "description": "Webhook URL for completion"
  },
  "webhook_events_filter": {
   "type": "array",
   "items": {
    "enum": [
     "start",
     "output",
     "logs",
     "completed"
    ],
    "type": "string"
   },
   "description": "Which webhook events to send"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stableflare-replicate-video-generation-312064cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableflare.dev](https://www.zero.xyz/host/stableflare.dev/llms.txt)
