80trust / 100
Tools Text To Speech
by archtools.dev in AI models & inference
x402 APIPassing, checked 33 min ago
Convert text to natural-sounding audio via ElevenLabs (returns base64 MP3). Pay per call with USDC (x402) or credits - archtools.dev
POST https://archtools.dev/v1/tools/text-to-speech
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 259 ms typical, 322 ms slowest 5%
- Last check
- 33 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://archtools.dev/v1/tools/text-to-speech" \
-H "content-type: application/json" \
-d '{"text":"example","voice_id":"EXAVITQu4vr4xnSDxMaL"}'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%2Farchtools.dev%2Fv1%2Ftools%2Ftext-to-speech
const res = await pay("https://archtools.dev/v1/tools/text-to-speech", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"example","voice_id":"EXAVITQu4vr4xnSDxMaL"}),
});
console.log(await res.json());Example input
{
"text": "example",
"voice_id": "EXAVITQu4vr4xnSDxMaL"
}Example output
{
"ok": true
}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 |
|---|---|---|---|---|
| 33 min ago | Passed | 402 | 322 ms | $0.1 |
| 4 h ago | Passed | 402 | 249 ms | $0.1 |
| 8 h ago | Passed | 402 | 302 ms | $0.1 |
| 11 h ago | Passed | 402 | 564 ms | $0.1 |
| 15 h ago | Passed | 402 | 262 ms | $0.1 |
| 19 h ago | Passed | 402 | 272 ms | $0.1 |
| 22 h ago | Passed | 402 | 213 ms | $0.1 |
| 26 h ago | Passed | 402 | 210 ms | $0.1 |
| 30 h ago | Passed | 402 | 222 ms | $0.1 |
| 33 h ago | Passed | 402 | 259 ms | $0.1 |
| 38 h ago | Passed | 402 | 225 ms | $0.1 |