Speech to text (transcribe audio, Whisper)
speech_to_textSpeech to text / transcribe audio / ASR with Whisper large-v3-turbo: give an audio URL (or base64) of WAV, MP3, FLAC, OGG, M4A or WebM (up to 20 min / 10 MB) and get the transcript, detected language, timed segments and WebVTT subtitles. task=translate returns English text from any language. $0.002 USDC per started minute on Base via x402; the quote is computed from the file duration before payment; failures are not charged. Price: $0.002 per started audio minute. First call returns the x402 PaymentRequired (no charge); retry with payment in _meta["x402/payment"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | translate = English output | |
| prompt | No | Optional spelling hints / context words | |
| language | No | ISO 639-1 code like "en", or "auto" (default) | |
| audio_url | No | Public http(s) URL of the audio file (max 10 MB, 20 min). Preferred. | |
| requestKey | No | Optional idempotency key: same payer + requestKey + input returns the stored result without a second charge (7 days). | |
| audio_base64 | No | Base64 audio (max ~1 MB via MCP; use audio_url or the REST endpoint for larger files) | |
| x402_payment | No | Optional. Base64 x402 v2 PaymentPayload, for clients that cannot set params._meta["x402/payment"]. Omit on the first call to get the exact price. |