78trust / 100
Text To Speech
by x402.forgemesh.io in AI models & inference
x402 APIPassing, checked 1 h ago
Text-to-speech API: convert up to 2000 characters into natural speech (WAV, base64) using our locally-hosted neural speech engine — no API keys, pay per call with USDC. Choose voices F1-F5/M1-M5. Use for voice agents, notifications, audio content, and IVR. Text never stored. Full 20-voice / 31-language tiered product at voice.forgemesh.io.
POST https://x402.forgemesh.io/text-to-speech
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 403 ms typical, 449 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.forgemesh.io/text-to-speech" \
-H "content-type: application/json" \
-d '{"text":"Hello from the ForgeMesh utility grid.","voice":"F1"}'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.forgemesh.io%2Ftext-to-speech
const res = await pay("https://x402.forgemesh.io/text-to-speech", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"text":"Hello from the ForgeMesh utility grid.","voice":"F1"}),
});
console.log(await res.json());Example input
{
"text": "Hello from the ForgeMesh utility grid.",
"voice": "F1"
}Example output
{
"audio_base64": "UklGRiQAAABXQVZF...",
"characters": 38,
"content_type": "audio/wav",
"voice": "F1"
}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 |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 140 ms | $0.01 |
| 5 h ago | Passed | 402 | 603 ms | $0.01 |
| 8 h ago | Passed | 402 | 372 ms | $0.01 |
| 12 h ago | Passed | 402 | 404 ms | $0.01 |
| 16 h ago | Passed | 402 | 423 ms | $0.01 |
| 19 h ago | Passed | 402 | 376 ms | $0.01 |
| 23 h ago | Passed | 402 | 426 ms | $0.01 |
| 26 h ago | Passed | 402 | 376 ms | $0.01 |
| 31 h ago | Passed | 402 | 403 ms | $0.01 |
| 34 h ago | Passed | 402 | 140 ms | $0.01 |
| 37 h ago | Passed | 402 | 429 ms | $0.01 |
| 42 h ago | Passed | 402 | 449 ms | $0.01 |