Transcribe audio (speech-to-text)
transcribe_audioSpeech-to-text for a public MP3, WAV, M4A or OGG/Opus file (audio_url, up to 30 minutes): transcript, detected language, timestamped segments and optional SRT/VTT subtitles (format=srt|vtt); task=translate returns English. Paid only, no free tier: $0.003 per started audio minute (minimum 1). Call without payment to get the exact quote for your file (x402 payment terms); then retry with params.meta["x402/payment"] or a prepaid credits key (Authorization: Bearer yatc...). Charged only when a transcript is returned. Not for FLAC or WebM (convert first).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audio_url": "<audio_url>"
},
"name": "transcribe_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vad | No | Skip silence with voice activity detection (default false) | |
| task | No | transcribe (default) or translate (to English) | |
| format | No | json (default); srt or vtt also returns subtitles in the srt / vtt field | |
| prompt | No | Optional context words or spellings (max 500 chars) | |
| language | No | Optional ISO 639-1 code of the spoken language (e.g. en, es, de); detected when omitted | |
| audio_url | Yes | Public https URL of an MP3, WAV, M4A or OGG/Opus file (up to 30 minutes / 30 MB). |