Transcribe speech
transcribe_audioTurn speech in a recording into text. OAuth uses site credits (from 3 credits per minute with the default model). API keys use a separate USD wallet. Omit approval to get a quote, then confirm max_credits for OAuth or currency USD and decimal max_usd for API keys.
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 |
|---|---|---|---|
| model | No | Optional speech-to-text model (list_models with category audio shows them). Leave empty for the default, Grok STT. | |
| max_usd | No | API key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits. | |
| currency | No | Billing unit: USD for API keys; credits for OAuth (optional for existing OAuth clients). | |
| language | No | Optional spoken language code, for example en, es, fr, de, ja. Leave empty to detect it. | |
| audio_url | Yes | The recording to turn into text, for example an MP3, WAV or a voiceover made earlier (https or popnow:// link). | |
| max_credits | No | OAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price. | |
| production_id | No | Optional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts. |