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.
POST
https://voice.madebydevx.com/v1/sttUptime100% 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
- voice.madebydevx.com/v1/ocrOCR for agents: send an image URL or base64 (PNG, JPEG, WebP, GIF; up to 3 MB) and get the text it contains in reading order, as plain text or Markdown (tables, lists). Works on screenshots, receipts, invoices, signs and documents. $0.002 USDC per image on Base; images with no readable text are not charged. Gemma 4 vision. By DevX.0.002
- voice.madebydevx.com/v1/translateMachine translation for agents between 100 languages: send text (up to 5,000 chars), target_lang and optional source_lang (auto-detect by default) and get the translation. $0.001 USDC per started 1,000 characters on Base; failures are not charged. LibreTranslate/dTelecom-style {q, source, target} also accepted at /v1/translation. M2M100 1.2B. By DevX.0.001
- voice.madebydevx.com/v1/ttsText to speech for agents: send text (up to 2,000 chars) in English, Spanish, French, Chinese, Japanese or Korean and get a WAV voice clip (base64 in JSON, or raw audio/wav with response_format=wav). $0.001 USDC per started 1,000 characters on Base; failures are not charged. Accepts dTelecom-style text/lang_code fields. MeloTTS. By DevX.0.001
