68trust / 100
Tts Hd
by Text-to-speech (HD) in AI models & inference
x402 APIPassing, checked 2 h ago
Convert text to speech using OpenAI TTS-1-HD (higher fidelity). Returns base64-encoded audio. Same interface as /api/tts but with better audio quality. No API key needed; pay per call via x402. Text capped at 2000 chars.
POST https://agent402.tools/api/tts-hd
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 289 ms typical, 372 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/tts-hd" \
-H "content-type: application/json" \
-d '{"format":"mp3","text":"Hello from Agent402!","voice":"alloy"}'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%2Fagent402.tools%2Fapi%2Ftts-hd
const res = await pay("https://agent402.tools/api/tts-hd", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"format":"mp3","text":"Hello from Agent402!","voice":"alloy"}),
});
console.log(await res.json());Example input
{
"format": "mp3",
"text": "Hello from Agent402!",
"voice": "alloy"
}Example output
{
"audio": "<base64-encoded audio>",
"chars": 20,
"format": "mp3",
"model": "tts-1-hd",
"provider": "openai",
"voice": "alloy"
}Security scan
- Charges more than its listed price in payment
Listed at $0.1, charges $0.24
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 322 ms | $0.24 |
| 6 h ago | Passed | 402 | 372 ms | $0.24 |
| 9 h ago | Passed | 402 | 375 ms | $0.24 |
| 12 h ago | Passed | 402 | 241 ms | $0.24 |
| 16 h ago | Passed | 402 | 188 ms | $0.24 |
| 20 h ago | Passed | 402 | 190 ms | $0.24 |
| 23 h ago | Passed | 402 | 192 ms | $0.24 |
| 27 h ago | Passed | 402 | 314 ms | $0.24 |
| 30 h ago | Passed | 402 | 333 ms | $0.24 |
| 35 h ago | Passed | 402 | 193 ms | $0.24 |
| 38 h ago | Passed | 402 | 199 ms | $0.24 |
| 42 h ago | Passed | 402 | 289 ms | $0.24 |
| 45 h ago | Passed | 402 | 329 ms | $0.24 |
| 2 days ago | Passed | 402 | 259 ms | $0.24 |
| 2 days ago | Passed | 402 | 344 ms | $0.24 |
History
| 11 Oct 2026 | Price changed from $0.1 to $0.24 |