82trust / 100
Transcribe
by Speech-to-text in AI models & inference
x402 APIPassing, checked 4 h ago
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 and word timestamps (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/transcribe
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 277 ms typical, 393 ms slowest 5%
- Last check
- 4 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/transcribe" \
-H "content-type: application/json" \
-d '{"url":"https://agent402.tools/fixtures/sample-speech.wav"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Ftranscribe
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"
}Example output
{
"duration": 12.6,
"language": "en",
"model": "gpt-transcribe",
"provider": "openai",
"text": "Hi, this is the Agent402 sample recording. Can you hear me clearly? Yes, loud and clear. There are two of us on this clip, so the transcript can tell us apart."
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Passed | 402 | 277 ms | $0.03 |
| 8 h ago | Passed | 402 | 214 ms | $0.03 |
| 11 h ago | Passed | 402 | 198 ms | $0.03 |
| 15 h ago | Passed | 402 | 393 ms | $0.03 |
| 18 h ago | Passed | 402 | 195 ms | $0.03 |
| 21 h ago | Passed | 402 | 552 ms | $0.03 |
| 27 h ago | Passed | 402 | 338 ms | $0.03 |