78trust / 100
Audio Speech Long
by voice.forgemesh.io in AI models & inference
x402 APIPassing, checked 57 min ago
OpenAI-compatible text-to-speech endpoint (input, voice, response_format) for drop-in use with existing OpenAI TTS clients, 1 of 10 standard voices, for 501-2000 characters, WAV/FLAC/OGG output. Use it to: voice a longer OpenAI-formatted request without an API key, migrate an existing TTS integration to pay-per-call pricing, synthesize extended text through a familiar request shape. USDC on Base via x402.
POST https://voice.forgemesh.io/v1/audio/speech-long
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 421 ms typical, 528 ms slowest 5%
- Last check
- 57 min 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-long" \
-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-long
const res = await pay("https://voice.forgemesh.io/v1/audio/speech-long", {
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 |
|---|---|---|---|---|
| 57 min ago | Passed | 402 | 3.5 s | $0.003 |
| 5 h ago | Passed | 402 | 386 ms | $0.003 |
| 8 h ago | Passed | 402 | 371 ms | $0.003 |
| 12 h ago | Passed | 402 | 449 ms | $0.003 |
| 15 h ago | Passed | 402 | 415 ms | $0.003 |
| 19 h ago | Passed | 402 | 450 ms | $0.003 |
| 23 h ago | Passed | 402 | 528 ms | $0.003 |
| 26 h ago | Passed | 402 | 432 ms | $0.003 |
| 30 h ago | Passed | 402 | 421 ms | $0.003 |
| 33 h ago | Passed | 402 | 401 ms | $0.003 |
| 37 h ago | Passed | 402 | 431 ms | $0.003 |
| 42 h ago | Passed | 402 | 331 ms | $0.003 |