Speech-to-text
audio.transcribePaid ($0.030/call): Transcribe audio to text with the gpt-transcribe model. Provide a URL to an audio file (mp3, wav, m4a, etc.) and get back the transcript. Add diarize:true for speaker labels, word timestamps and a language confidence score (the scribe-v2 model, same price). No API key needed; pay per call via x402.
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": {
"url": "<url>"
},
"name": "audio.transcribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the audio file to transcribe (mp3, wav, m4a, ogg, flac, webm) | |
| model | No | Optional: a model to transcribe with in place of gpt-transcribe, one of mistralai/voxtral-mini-transcribe-3-0, mistralai/voxtral-small-transcribe-3-0, microsoft/mai-transcribe-2 (model-backed; same price and cap; not with diarize). The answer names the model that served it. | |
| diarize | No | true: transcribe with the scribe-v2 model and add speaker labels and word timestamps (`words`, `speakers`) and `language_confidence` (0 to 1, the model's confidence in the detected language). Same price and cap. Default false | |
| language | No | Optional ISO-639-1 language code (e.g. 'en', 'es', 'fr') for better accuracy |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| model | No | ||
| duration | No | ||
| language | No | ||
| provider | No | ||
| durationUnconfirmed | No | Present (true) only with trimmedToCapSeconds: the file's full length was not confirmed | |
| trimmedToCapSeconds | No | Present only when the file's length could not be confirmed: the audio was transcribed up to this many seconds (the tier's cap) |