Fast 1-step audio conversion for AI agents
convert.guru/api/x402/v1/convert-audio
Fast 1-step audio conversion for AI agents: WAV to MP3, M4A to MP3, FLAC to MP3, OGG to MP3, OPUS to MP3, MP3 to WAV, AAC to MP3, WMA to MP3, AIFF to MP3. Input formats include MP3, WAV, FLAC, AAC, M4A, OGG, OPUS, WMA, AIFF, AIF, AMR, AC3, APE, MKA, CAF, AU, MP2, WV, DTS and 50+ more audio formats. Accepts multipart/form-data or JSON with source_url; payment settles only if conversion succeeds.
POST
https://convert.guru/api/x402/v1/convert-audioUptime100% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://convert.guru/api/x402/v1/convert-audio", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"created_at":"2026-05-21T14:30:00Z","file":"<binary file>","filename":"recording.wav","size_bytes":184221,"target_format":"mp3"}),
});
console.log(await res.json());Example input
{
"created_at": "2026-05-21T14:30:00Z",
"file": "<binary file>",
"filename": "recording.wav",
"size_bytes": 184221,
"target_format": "mp3"
}