Transcribe audio to text with the gpt-transcribe model
agent402.tools/api/transcribe
Transcribe audio to text with the gpt-transcribe model. Provide a URL to an audio file (mp3, wav, m4a, etc.) and get back the transcript. Add diarize:true for speaker labels, word timestamps and a language confidence score (the scribe-v2 model, same price). No API key needed; pay per call via x402. Max 4 minutes of audio, 25 MB file size; /api/transcribe-pro takes the same models to 10 minutes.
POST
https://agent402.tools/api/transcribeUptime100% of 2 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://agent402.tools/api/transcribe", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"url":"https://agent402.tools/fixtures/sample-speech.wav"}),
});
console.log(await res.json());Example input
{
"url": "https://agent402.tools/fixtures/sample-speech.wav"
}