spraay_compute_stt
Transcribe audio from a URL using Whisper. Costs $0.02 USDC per request.
Instructions
Speech-to-text via Spraay Compute. Transcribe audio from a URL using Whisper. Costs $0.02 USDC.
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": "spraay_compute_stt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | STT model (default 'auto' = Whisper) | auto |
| language | No | Optional language hint (e.g. 'en', 'es', 'fr') | |
| audio_url | Yes | URL of the audio file to transcribe (MP3, WAV, M4A, etc.) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |