{"service":"speech-to-text","version":"1.0.0","title":"Speech to text","description":"Returns JSON with a Whisper transcription of an audio file: text, timed segments and language, or an English translation. Use when you need speech to text transcription or translation of audio at a public URL. Do not use when the audio is over 10 MB or you need speaker labels. Price: 0.008 USDC per megabyte, up to 0.08 USDC per call (clients without upto pay the cap). Asynchronous: the paid call returns a jobId and a free pollUrl; typical job time: 20000 ms (p95).","paid":{"method":"POST","url":"https://x402-gateway.blackwoodstate8.workers.dev/v1/speech-to-text","scheme":"upto","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"80000","amountUsdc":"0.08","payTo":"0xe9949cA82543031952eB55EB045f80A94C728fFc","maxTimeoutSeconds":60,"pollUrl":"https://x402-gateway.blackwoodstate8.workers.dev/v1/speech-to-text/jobs/:jobId","unit":"megabyte","unitAmount":"8000","unitUsdc":"0.008","exactFallback":"80000"},"input":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri","description":"Public http(s) URL of the audio file (mp3, wav, ogg, m4a, webm; up to 10 MB)"},"task":{"description":"transcribe keeps the spoken language; translate returns English (transcribe when omitted)","type":"string","enum":["transcribe","translate"]},"language":{"description":"ISO 639-1 code of the spoken language, e.g. en or pt (detected when omitted)","type":"string","pattern":"^[a-z]{2}$"}},"required":["url"]},"example":{"url":"https://upload.wikimedia.org/wikipedia/commons/b/bb/Neil_Armstrong_small_step.wav"}},"output":{"schema":{"type":"object","properties":{"jobId":{"type":"string","minLength":1,"maxLength":100},"pollUrl":{"type":"string","format":"uri"},"expiresAt":{"type":"string","description":"ISO 8601: depois disso o resultado deixa de existir"},"status":{"type":"string","const":"queued"}},"required":["jobId","pollUrl","expiresAt","status"],"additionalProperties":false},"example":{"jobId":"job_00000000000000000000000000000000","pollUrl":"https://gateway.example/v1/speech-to-text/jobs/job_00000000000000000000000000000000","expiresAt":"2026-01-31T00:00:00.000Z","status":"queued"}},"mcp":{"url":"https://x402-gateway.blackwoodstate8.workers.dev/mcp","tool":"speech-to-text_v1"},"openapi":"https://x402-gateway.blackwoodstate8.workers.dev/openapi.json"}