{"service":"speech-to-text","version":"1.0.0","title":"Speech to text","description":"Use when you need speech to text transcription or translation of an audio file at a public URL. Do not use for audio over 10 MB or speaker labels. Returns JSON with a Whisper transcription of an audio file: text, timed segments and language, or an English translation for 0.005 USDC per megabyte, up to 0.05 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). Category: Media.","paid":{"method":"POST","url":"https://x402-gateway.blackwoodstate8.workers.dev/v1/speech-to-text","scheme":"upto","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"50000","amountUsdc":"0.05","payTo":"0xe9949cA82543031952eB55EB045f80A94C728fFc","maxTimeoutSeconds":60,"pollUrl":"https://x402-gateway.blackwoodstate8.workers.dev/v1/speech-to-text/jobs/:jobId","unit":"megabyte","unitAmount":"5000","unitUsdc":"0.005","exactFallback":"50000"},"input":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri","description":"Public http(s) URL of the audio file, e.g. https://example.com/talk.mp3 (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"},"next":{"type":"object","properties":{"service":{"type":"string","description":"Service id of the suggested next paid call"},"tool":{"type":"string","description":"MCP tool name of the same call"},"method":{"type":"string","enum":["GET","POST"]},"url":{"type":"string","description":"Paid route of the next call"},"useWhen":{"type":"string","description":"When the next call is the right one"},"sample":{"type":"string","description":"Free fixed sample of the whole family"}},"required":["service","tool","method","url","useWhen","sample"],"additionalProperties":false,"description":"Suggested next paid call in the same family (call it in a loop when the task continues)"}},"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":"blackwood_audio_transcribe"},"openapi":"https://x402-gateway.blackwoodstate8.workers.dev/openapi.json","status":"https://x402-gateway.blackwoodstate8.workers.dev/status.json"}