# agentutility MP4 to MP3 Converter

> agentutility MP4 to MP3 Converter is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-11).

Converts a publicly accessible MP4 video file to an MP3 audio file at a selectable bitrate

## Facts

- Endpoint: POST https://x402.agentutility.ai/mp4-to-mp3?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-mp4-to-mp3-converter-4a1f38f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OJI8CA7nrYQHvAYyKgu6u

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 agentutility-mp4-to-mp3-converter-4a1f38f3 -d '<json body>'
```

Example prompt: Can you extract the audio from this MP4 video and give me an MP3 download link? Here's the URL: https://example.com/lecture.mp4 — use 128 kbps bitrate.

## When to prefer this

Use this endpoint when you have a public URL pointing to an MP4 video and need to extract its audio track as a downloadable MP3, especially in agent workflows that require no API key or signup — just a pay-per-call USDC payment via x402. Prefer this over client-side tools when the video is hosted remotely and you want a managed, server-side conversion.

## Known failure modes

- Video URL is not publicly accessible or returns a non-200 response — conversion fails
- Video file exceeds 500 MB or 60 minutes in duration — rejected
- Unsupported video format or corrupted file — conversion error
- Invalid bitrate value outside allowed enum (96, 128, 192) — validation error
- Network timeout fetching the remote video — processing failure

## How this service works

817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.

## Output

Returns a JSON object containing the URL of the generated MP3 file (audio_url), the source video URL (source_url), the output bitrate in kbps (bitrate), and the file size in bytes (file_size_bytes).

## 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": {
     "required": [
      "video_url"
     ],
     "properties": {
      "bitrate": {
       "enum": [
        96,
        128,
        192
       ],
       "type": "number",
       "description": "Output MP3 bitrate in kbps. 96 (smaller, voice), 128 (default, balanced), 192 (higher quality)."
      },
      "video_url": {
       "type": "string",
       "description": "Public URL of the source video. Max 500MB / 60 minutes."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "bitrate": {
       "type": "integer"
      },
      "audio_url": {
       "type": "string"
      },
      "source_url": {
       "type": "string"
      },
      "file_size_bytes": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bitrate": 128,
  "audio_url": "https://...mp3",
  "source_url": "https://samplelib.com/mp4/sample-5s.mp4",
  "file_size_bytes": 161109
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentutility-mp4-to-mp3-converter-4a1f38f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
