# Stableflare Replicate Audio Generation

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

Creates audio generation predictions via Replicate AI models, accessible pay-per-request without API keys using x402 micropayments

## Facts

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

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-audio-generation-db546260 -d '<json body>'
```

Example prompt: Generate a 10-second ambient forest soundscape audio clip using a Replicate audio model — pay per request, no API key needed.

## When to prefer this

Choose this endpoint when you need to run Replicate audio generation models without obtaining a Replicate API key or managing a subscription, and you can pay per request using USDC via x402 micropayment protocol. Ideal for agents or workflows that need occasional audio generation without committing to a subscription tier.

## Known failure modes

- Payment not received or x402 payment verification fails — returns 402 Payment Required
- Invalid or unsupported Replicate model identifier — returns 400 Bad Request
- Malformed input parameters for the audio model — returns 422 Unprocessable Entity
- Replicate backend unavailable or model overloaded — returns 503 Service Unavailable
- Prediction times out before audio is generated — returns timeout or pending status with no output URL

## 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 containing the prediction ID, status (starting/processing/succeeded/failed), and upon completion a URL to the generated audio file output.

## 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-audio-generation-db546260/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)
