79trust / 100
Audio Speech
by voice.forgemesh.io in AI models & inference
x402 APIPassing, checked 3 h ago
OpenAI-compatible text-to-speech endpoint (input, voice, response_format) for drop-in use with code already built against the OpenAI TTS API, 1 of 10 standard voices, up to 500 characters, WAV/FLAC/OGG output. Use it to: swap OpenAI TTS calls for a pay-per-call x402 alternative, generate speech from an existing OpenAI-style client, avoid API-key management for short text-to-audio requests. USDC on Base.
POST https://voice.forgemesh.io/v1/audio/speech
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 424 ms typical, 467 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://voice.forgemesh.io/v1/audio/speech" \
-H "content-type: application/json" \
-d '{"input":"Hello world","model":"forgemesh-voice","response_format":"wav","voice":"M1"}'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%2Fvoice.forgemesh.io%2Fv1%2Faudio%2Fspeech
const res = await pay("https://voice.forgemesh.io/v1/audio/speech", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"input":"Hello world","model":"forgemesh-voice","response_format":"wav","voice":"M1"}),
});
console.log(await res.json());Example input
{
"input": "Hello world",
"model": "forgemesh-voice",
"response_format": "wav",
"voice": "M1"
}Example output
{
"content_type": "audio/wav",
"description": "OpenAI-compatible inline speech audio response"
}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 |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 451 ms | $0.001 |
| 6 h ago | Passed | 402 | 424 ms | $0.001 |
| 10 h ago | Passed | 402 | 467 ms | $0.001 |
| 13 h ago | Passed | 402 | 434 ms | $0.001 |
| 17 h ago | Passed | 402 | 425 ms | $0.001 |
| 21 h ago | Passed | 402 | 547 ms | $0.001 |
| 24 h ago | Passed | 402 | 365 ms | $0.001 |
| 29 h ago | Passed | 402 | 395 ms | $0.001 |
| 32 h ago | Passed | 402 | 395 ms | $0.001 |
| 35 h ago | Passed | 402 | 129 ms | $0.001 |
| 40 h ago | Passed | 402 | 424 ms | $0.001 |