78trust / 100

Speech Transcribe

by HubVibe in AI models & inference

x402 APIPassing, checked 2 h ago

Speech to text / audio transcription: transcribe up to 60 seconds or 10 MB of audio with Google Cloud Speech-to-Text and get the transcript with its confidence and detected language. Use it for voice notes, call snippets and clips. Input: audio_base64; optional language_code. Longer audio is refused before payment.

POST https://hubvibe-io.com/work/speech/transcribe

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
123 ms typical, 497 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://hubvibe-io.com/work/speech/transcribe" \
  -H "content-type: application/json" \
  -d '{"audio_base64":"aGVsbG8="}'
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%2Fhubvibe-io.com%2Fwork%2Fspeech%2Ftranscribe
const res = await pay("https://hubvibe-io.com/work/speech/transcribe", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"audio_base64":"aGVsbG8="}),
});
console.log(await res.json());

Example input

{
  "audio_base64": "aGVsbG8="
}

Example output

{
  "attribution": [
    {
      "text": "Translated by Google",
      "url": "https://translate.google.com"
    }
  ],
  "price_usd": 0.25,
  "provenance": {
    "attempts": 1,
    "elapsed_ms": 340,
    "providers_used": [
      "coinbase-advanced-trade-public"
    ],
    "steps": [
      {
        "ms": 312,
        "ok": true,
        "provider": "coinbase-advanced-trade-public",
        "reason": "provider_timeout",
        "step": "quote"
      }
    ]
  },
  "receipt_id": "rcpt_9f1c2b3a4d5e6f70",
  "receipt_url": "/work/receipts/rcpt_9f1c2b3a4d5e6f70",
  "result": {
    "confidence": 0.94,
    "language_code": "en-US",
    "model": "latest_short",
    "transcript": "hello world"
  },
  "status": "ok",
  "worker": "speech.transcribe"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402117 ms$0.25
6 h agoPassed402118 ms$0.25
9 h agoPassed402427 ms$0.25
13 h agoPassed402497 ms$0.25
17 h agoPassed402118 ms$0.25
20 h agoPassed402497 ms$0.25
24 h agoPassed402494 ms$0.25
27 h agoPassed402124 ms$0.25
31 h agoPassed402186 ms$0.25
35 h agoPassed402118 ms$0.25
38 h agoPassed402122 ms$0.25
44 h agoPassed402123 ms$0.25