Skip to content
Fourohtwo

Machine translation for agents between 100 languages

voice.madebydevx.com/v1/translate

Machine 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.

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

Uptime100% of 2 checks 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/translate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"Good morning, how are you?","source_lang":"en","target_lang":"de"}),
});
console.log(await res.json());

Example input

{
  "text": "Good morning, how are you?",
  "source_lang": "en",
  "target_lang": "de"
}

More from DevX VoiceProvider status