Skip to content
Fourohtwo

Solana speech-to-text endpoint using x402 payments

x402factory.ai/solana/stt

Solana speech-to-text endpoint using x402 payments. Provide either a YouTube URL/ID or a direct audio file URL; the server downloads the audio, runs speech-to-text, and returns the transcript text. Pricing: 0.01 USDC per started minute of audio, computed from the estimated duration and charged upfront via x402. Default discovery price without a specific URL is 0.60 USDC as an upper-bound quote. Fo

SolanaAnswering
POSThttps://x402factory.ai/solana/stt

Uptime100% of 2 checks in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://x402factory.ai/solana/stt" \
  -d '{"youtube":{"type":"string","required":false,"description":"YouTube video URL (e.g. https://www.youtube.com/watch?v=...) or 11-character video ID. For paid calls, either youtube or file_url is required."},"file_url":{"type":"string","required":false,"description":"Direct URL to an audio file (e.g. .mp3, .webm). Must be an http(s) URL. For paid calls, either youtube or file_url is required."}}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "youtube": {
    "type": "string",
    "required": false,
    "description": "YouTube video URL (e.g. https://www.youtube.com/watch?v=...) or 11-character video ID. For paid calls, either youtube or file_url is required."
  },
  "file_url": {
    "type": "string",
    "required": false,
    "description": "Direct URL to an audio file (e.g. .mp3, .webm). Must be an http(s) URL. For paid calls, either youtube or file_url is required."
  }
}