79trust / 100

Speech Generator

by x402.forgemesh.io in AI models & inference

x402 APIPassing, checked 26 min ago

Speech audio generator: reads any block of text aloud and returns the result as a downloadable WAV file, selectable across ten built-in voice presets. Pay-per-call with no subscription or stored text. Useful for narrating short-form content, generating spoken alerts, or producing sample audio for voice-agent testing.

POST https://x402.forgemesh.io/speech-generator

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
433 ms typical, 467 ms slowest 5%
Last check
26 min ago
Next check
in 7 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.forgemesh.io/speech-generator" \
  -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%2Fspeech-generator
const res = await pay("https://x402.forgemesh.io/speech-generator", {
  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

WhenResultHTTPTimePrice
26 min agoPassed402434 ms$0.01
4 h agoPassed402442 ms$0.01
7 h agoPassed402467 ms$0.01
11 h agoPassed402463 ms$0.01
14 h agoPassed402147 ms$0.01
18 h agoPassed402388 ms$0.01
22 h agoPassed402719 ms$0.01
25 h agoPassed402433 ms$0.01
30 h agoPassed402141 ms$0.01
33 h agoPassed402455 ms$0.01
36 h agoPassed402378 ms$0.01
41 h agoPassed402323 ms$0.01