80trust / 100

Audio Tts

by kino402 in AI models & inference

x402 APIPassing, checked 34 min ago

ElevenLabs TTS: 29 characters, voice 21m00Tcm4TlvDq8ikWAM

POST https://kino402.com/v1/audio/tts

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
217 ms typical, 418 ms slowest 5%
Last check
34 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://kino402.com/v1/audio/tts" \
  -H "content-type: application/json" \
  -d '{"text":"One request, one voice track.","voice":"21m00Tcm4TlvDq8ikWAM"}'
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%2Fkino402.com%2Fv1%2Faudio%2Ftts
const res = await pay("https://kino402.com/v1/audio/tts", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"One request, one voice track.","voice":"21m00Tcm4TlvDq8ikWAM"}),
});
console.log(await res.json());

Example input

{
  "text": "One request, one voice track.",
  "voice": "21m00Tcm4TlvDq8ikWAM"
}

Example output

"binary audio/mpeg response body (~1 KB per spoken word)"

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
34 min agoPassed40261 ms$0.007
4 h agoPassed40242 ms$0.007
8 h agoPassed40272 ms$0.007
12 h agoPassed402418 ms$0.007
15 h agoPassed402273 ms$0.007
19 h agoPassed402217 ms$0.007
22 h agoPassed40244 ms$0.007
26 h agoPassed402290 ms$0.007
31 h agoPassed402467 ms$0.007