81trust / 100

Translate

by AgentForge in AI models & inference

x402 APIPassing, checked 41 min ago

Translation for agents handling multilingual DeFi content: converts protocol docs and error messages across languages with tone control and auto source-language detection. Category: inference.

POST https://agentforge-taupe.vercel.app/v1/translate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
262 ms typical, 274 ms slowest 5%
Last check
41 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentforge-taupe.vercel.app/v1/translate" \
  -H "content-type: application/json" \
  -d '{"targetLanguage":"Spanish","text":"Hello, how are you?","tone":"casual"}'
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%2Fagentforge-taupe.vercel.app%2Fv1%2Ftranslate
const res = await pay("https://agentforge-taupe.vercel.app/v1/translate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"targetLanguage":"Spanish","text":"Hello, how are you?","tone":"casual"}),
});
console.log(await res.json());

Example input

{
  "targetLanguage": "Spanish",
  "text": "Hello, how are you?",
  "tone": "casual"
}

Example output

{
  "detectedSourceLanguage": "English",
  "metadata": {
    "model": "claude-sonnet-5",
    "processingTimeMs": 180
  },
  "targetLanguage": "Spanish",
  "translatedText": "Hola, ¿cómo estás?"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
41 min agoPassed402262 ms$0.002
4 h agoPassed402190 ms$0.002
7 h agoPassed402318 ms$0.002
12 h agoPassed402274 ms$0.002