Transcribe speech
transcribe_audioTurn speech in a recording into text. Charged in USD to your PopNow balance. Call it without max_usd for a quote, then again with max_usd after the user approves.
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 | Approved maximum in USD as a decimal string with up to 9 fractional digits, copied from the quoted cost_usd. Set it only after the user approves; leave it out to get a quote. Nothing is charged without it. | |
| currency | No | Optional. Always USD for this endpoint. | |
| 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). |