# Relaystation Audio Convert

> Relaystation Audio Convert is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-16).

Re-encodes audio files to a different format, bitrate, or sample rate (mp3, aac, wav, flac, and more) at $0.0005/MB

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/media/audio-convert
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-audio-convert-f8418905
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-QI5mNTHcMboNveJpFX26

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 relaystation-audio-convert-f8418905 -d '<json body>'
```

Example prompt: Can you convert this WAV audio file to MP3 at 128kbps? I need it smaller for web streaming.

## When to prefer this

Choose this endpoint when you need a simple, pay-per-use audio transcoding API that supports common formats (mp3, aac, wav, flac) without standing up your own FFmpeg infrastructure. Ideal for agents that occasionally need to reformat audio files on demand with predictable per-MB pricing and no subscription overhead.

## Known failure modes

- Unsupported input or output format returns an error
- Corrupted or unreadable audio file causes processing failure
- File size too large may exceed timeout or cost limits
- Invalid bitrate or sample rate values return a validation error
- Network timeout for very large audio files

## How this service works

$0.0005/MB. Re-encode audio to another format, bitrate, or sample rate — mp3, aac, wav, flac and more. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

Returns the re-encoded audio file in the requested output format (e.g. mp3, aac, wav, flac) at the specified bitrate and sample rate. Billing is $0.0005/MB with a 1¢ minimum per x402 call; any overpaid amount is auto-credited.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "file": {
       "type": "object",
       "description": "cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key ≤ 50 MB> }. The input container must sniff (ffprobe) to the live allowlist (operator-tunable cputools.media.input_formats): 3g2, 3gp, aac, asf, avi, flac, flv, gif, m4a, m4v, matroska, mj2, mov, mov,mp4,m4a,3gp,3g2,mj2, mp3, mp4, mpeg, mpegts, mpegvideo, ogg, wav, webm, wmv. An off-list input is a free 422 UNSUPPORTED_FORMAT."
      },
      "format": {
       "enum": [
        "mp3",
        "m4a",
        "aac",
        "wav",
        "ogg",
        "flac"
       ],
       "type": "string"
      },
      "bitrate": {
       "type": "string"
      },
      "sampleRate": {
       "type": "integer",
       "maximum": 192000,
       "minimum": 8000
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/relaystation-audio-convert-f8418905/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
