Skip to content
Fourohtwo

Speech to text for agents

voice.madebydevx.com/v1/stt

Speech to text for agents: send an audio URL, base64 or raw audio (WAV, MP3, FLAC, OGG, M4A, WebM; up to 20 min / 10 MB) and get the transcript, language, timed segments and WebVTT subtitles. Optional task=translate gives English text. $0.002 USDC per started minute on Base; failed or silent audio is not charged. Whisper large-v3-turbo. By DevX.

AvalancheAnswering
POSThttps://voice.madebydevx.com/v1/stt

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";

const pay = wrapFetchWithPayment(fetch, privateKeyToAccount(process.env.AGENT_KEY));
const res = await pay("https://voice.madebydevx.com/v1/stt", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"language":"en","audio_url":"https://voice.madebydevx.com/samples/hello.mp3"}),
});
console.log(await res.json());

Example input

{
  "language": "en",
  "audio_url": "https://voice.madebydevx.com/samples/hello.mp3"
}

More from DevX Voice