80trust / 100
Ai Translate
by x402-seller-0ay3.onrender.com in AI models & inference
x402 APIPassing, checked 40 min ago
Translate text into any target language, via Claude Haiku 4.5. JSON body: {text: string (max 8000 chars), target_lang: string (e.g. French, es, Japanese)}.
POST https://x402-seller-0ay3.onrender.com/api/ai/translate
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 83 ms typical, 120 ms slowest 5%
- Last check
- 40 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402-seller-0ay3.onrender.com/api/ai/translate" \
-H "content-type: application/json" \
-d '{"target_lang":"French","text":"Where is the nearest train station?"}'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%2Fx402-seller-0ay3.onrender.com%2Fapi%2Fai%2Ftranslate
const res = await pay("https://x402-seller-0ay3.onrender.com/api/ai/translate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"target_lang":"French","text":"Where is the nearest train station?"}),
});
console.log(await res.json());Example input
{
"target_lang": "French",
"text": "Where is the nearest train station?"
}Example output
{
"target_lang": "French",
"translated_text": "Où est la gare la plus proche ?"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 40 min ago | Passed | 402 | 93 ms | $0.01 |
| 4 h ago | Passed | 402 | 88 ms | $0.01 |
| 8 h ago | Passed | 402 | 71 ms | $0.01 |
| 11 h ago | Passed | 402 | 102 ms | $0.01 |
| 16 h ago | Passed | 402 | 83 ms | $0.01 |
| 19 h ago | Passed | 402 | 74 ms | $0.01 |
| 23 h ago | Passed | 402 | 120 ms | $0.01 |
| 26 h ago | Passed | 402 | 69 ms | $0.01 |
| 29 h ago | Passed | 402 | 155 ms | $0.01 |
| 35 h ago | Passed | 402 | 54 ms | $0.01 |