# FetchHarbor Audio Format Converter

> FetchHarbor Audio Format Converter is a paid API for AI agents from fetchharbor.benlab.download, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-14).

Converts base64-encoded audio to WAV, MP3, Opus, or FLAC format using server-side FFmpeg in an isolated worker, returning base64 JSON with no media retained.

## Facts

- Endpoint: POST https://fetchharbor.benlab.download/audio/convert
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fetchharbor-audio-format-converter-31e20f59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1LLAfGgISW9pY8OmqQl__

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 fetchharbor-audio-format-converter-31e20f59 -d '<json body>'
```

Example prompt: Convert this base64-encoded audio clip to MP3 format using the FetchHarbor converter and give me back the result as base64.

## When to prefer this

Choose this endpoint when you need privacy-safe, stateless audio format conversion without any server-side media retention. Ideal for agents that need to transcode audio between WAV, MP3, Opus, and FLAC using fixed, deterministic FFmpeg arguments in an isolated environment. Prefer this over general-purpose transcoding services when privacy and no-storage guarantees matter, or when operating within an x402 micropayment workflow.

## Known failure modes

- Audio file exceeds operator-defined size limit — returns an error indicating decoded size is too large
- Unsupported or malformed base64 input — FFmpeg may fail to decode or process the audio
- Invalid format enum value — request rejected with validation error
- Corrupt or unrecognizable audio codec in the source file — FFmpeg transcoding error
- Worker timeout if audio processing takes too long for large files

## How this service works

Convert bounded audio to WAV, MP3, Opus, or FLAC with fixed server-side FFmpeg arguments in an isolated worker. Returns base64 JSON and retains no media.

## Output

A JSON object containing the converted audio encoded as a base64 string in the requested format (WAV, MP3, Opus, or FLAC). No media is retained server-side after the response is returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "format": {
   "enum": [
    "wav",
    "mp3",
    "opus",
    "flac"
   ],
   "type": "string"
  },
  "language": {
   "type": [
    "string",
    "null"
   ],
   "maxLength": 16
  },
  "audio_base64": {
   "type": "string",
   "description": "Base64-encoded audio; decoded size is operator limited.",
   "contentEncoding": "base64"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fetchharbor-audio-format-converter-31e20f59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fetchharbor.benlab.download](https://www.zero.xyz/host/fetchharbor.benlab.download/llms.txt)
