# AgentRXI Media Converter

> AgentRXI Media Converter is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.018/call, status unknown (last checked 2026-10-15).

Converts audio and video files between formats (mp4, webm, mov, mkv, mp3, wav, ogg, opus, m4a, aac, flac) using ffmpeg, with optional quality and encoding controls

## Facts

- Endpoint: GET https://agentrxi.com/v1/media/convert?utm_source=zero.xyz
- Price: $0.018/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-media-converter-f5f5893e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V5oV4gfNYomhqNsxuXn7e

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 agentrxi-media-converter-f5f5893e
```

Example prompt: Can you convert this video file at https://example.com/clip.mov to mp4 format, resize it to 720 pixels wide, set fps to 30, and return a share link?

## When to prefer this

Choose this endpoint when you need a simple, pay-per-call media transcoding API without managing ffmpeg infrastructure. It supports a wide range of common audio and video formats and allows quality tuning (CRF, bitrate, fps, resolution). Ideal for agent workflows that need to normalize media files on the fly, extract audio from video, or prepare media for specific platform requirements without standing up dedicated transcoding infrastructure.

## Known failure modes

- Input file exceeds 20 MB limit — request rejected
- Processing exceeds 150-second timeout — conversion fails for very long or complex media
- Unsupported format combination — ffmpeg cannot transcode between the given formats
- Invalid URL or inaccessible remote file — download fails before conversion
- Invalid parameter values (e.g. CRF out of 15-45 range) — bad request error
- Base64 input malformed or too large — parsing error

## How this service works

Convert audio or video between formats with ffmpeg: mp4, webm, mov, mkv, mp3, wav, ogg, opus, m4a, aac, flac. Optional width, fps, crf, audio_bitrate, sample_rate and channels. Up to 20 MB in, 150 s of processing. Also callable as GET with the same fields as query parameters.

## Output

Returns the converted media file as base64-encoded data (or a 7-day share link if the output exceeds 3 MB or if 'store' is set to true). For binary format requests, raw file bytes are returned. The response includes file type and the converted content ready for use or download.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "mp4, webm, mov, mkv, mp3, wav, ogg, opus, m4a, aac, flac"
      },
      "crf": {
       "type": "integer",
       "description": "15-45, lower = better quality"
      },
      "fps": {
       "type": "integer"
      },
      "url": {
       "type": "string",
       "description": "https URL of the file (max 20 MB)"
      },
      "store": {
       "type": "boolean",
       "description": "Return 7-day share links instead of base64 (+$0.001); automatic above 3 MB"
      },
      "width": {
       "type": "integer"
      },
      "format": {
       "type": "string",
       "description": "binary = raw file bytes (single output)"
      },
      "channels": {
       "type": "integer"
      },
      "filename": {
       "type": "string",
       "description": "Name with extension, helps detect the type"
      },
      "file_base64": {
       "type": "string",
       "description": "Or the file as base64 / data URI"
      },
      "sample_rate": {
       "type": "integer"
      },
      "audio_bitrate": {
       "type": "string",
       "description": "e.g. 128k"
      }
     }
    }
   },
   "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/agentrxi-media-converter-f5f5893e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
