78trust / 100

Transcribe

by Agent Tools UK in AI models & inference

x402 APIPassing, checked 24 min ago

Transcribe speech from an audio or video file (mp3, m4a, wav, ogg, mp4, webm) up to 15 minutes, using Whisper. Language is detected automatically. Use when you need the words from a voice note, meeting, podcast clip or video. Send {url} or {base64}, optional language (2-letter code). Returns {language, duration, text, segments with start/end times}. Errors: 413 over 15 minutes, 422 not audio.

POST https://agent-tools-production-e6aa.up.railway.app/v1/transcribe

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
291 ms typical, 306 ms slowest 5%
Last check
24 min ago
Next check
in 4 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent-tools-production-e6aa.up.railway.app/v1/transcribe" \
  -H "content-type: application/json" \
  -d '{"base64":"UklGRiR9AABXQVZFZm10IBAAAAABAAEAgD4AAAB9...","language":"en"}'
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%2Fagent-tools-production-e6aa.up.railway.app%2Fv1%2Ftranscribe
const res = await pay("https://agent-tools-production-e6aa.up.railway.app/v1/transcribe", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"base64":"UklGRiR9AABXQVZFZm10IBAAAAABAAEAgD4AAAB9...","language":"en"}),
});
console.log(await res.json());

Example input

{
  "base64": "UklGRiR9AABXQVZFZm10IBAAAAABAAEAgD4AAAB9...",
  "language": "en"
}

Example output

{
  "duration": 62.4,
  "language": "en",
  "segments": [
    {
      "end": 3.2,
      "start": 0,
      "text": "Hello and welcome"
    }
  ],
  "text": "Hello and welcome..."
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
24 min agoPassed402306 ms$0.03
4 h agoPassed402282 ms$0.03
8 h agoPassed402287 ms$0.03
11 h agoPassed402337 ms$0.03
15 h agoPassed402285 ms$0.03
19 h agoPassed402291 ms$0.03
22 h agoPassed402292 ms$0.03
26 h agoPassed402294 ms$0.03
35 h agoPassed402129 ms$0.03