82trust / 100

Transcribe

by api.x-402.online in AI models & inference

x402 APIPassing, checked 2 h ago

Transcribe the actual audio of a YouTube, TikTok or Instagram video with Whisper large-v3. Not caption scraping: the audio is downloaded and run through speech recognition, so it works on videos with no subtitles, in any language, and on TikTok and Instagram where no caption track…

GET https://api.x-402.online/v1/transcribe

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
159 ms typical, 159 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.x-402.online/v1/transcribe?url=https%3A%2F%2Fwww.tiktok.com%2F%40nasa%2Fvideo%2F7670721000471891214"
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%2Fapi.x-402.online%2Fv1%2Ftranscribe
const res = await pay("https://api.x-402.online/v1/transcribe?url=https%3A%2F%2Fwww.tiktok.com%2F%40nasa%2Fvideo%2F7670721000471891214");
console.log(await res.json());

Example input

{
  "url": "https://www.tiktok.com/@nasa/video/7670721000471891214"
}

Example output

{
  "duration_seconds": 29.9,
  "language": "en",
  "platform": "tiktok",
  "source": "audio-asr",
  "transcript": "Booster ignition and lift off, the crew of Artemis II now bound for the moon."
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402159 ms$0.02
7 h agoPassed402200 ms$0.02