Transcribe Audio
beatra.audio.transcribeTranscribe an audio file into timed text, speaker-labeled segments, detected audio events, and downloadable JSON, SRT, and VTT subtitle artifacts. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.
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": "<audio>",
"client_request_id": "<client_request_id>"
},
"name": "beatra.audio.transcribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | Yes | Source audio file (`artifact_id` or HTTPS `url`; 0.5-3600.0 seconds, <= 100 MiB). Accepts `audio` or `source`. | |
| model | No | Speech-to-text model identifier, or 'auto' for automatic selection (defaults to `doubao-seed-asr-2.0`, or upgrades to `elevenlabs-scribe-v3` when `tag_audio_events=true` or `num_speakers` is passed). | auto |
| diarize | No | Annotate speaker turns in transcript segments when true. | |
| language | No | Language hint (`auto` or BCP-47 tag such as `zh`, `en`, `ja-JP`). | auto |
| subtitles | No | Emit timed subtitle artifacts (`json`, `srt`, `vtt`) alongside the transcript. | |
| num_speakers | No | Optional expected speaker count hint (1-32). | |
| model_options | No | Optional model-family-specific options (for example, `{"elevenlabs": {...}}` or `{"doubao": {...}}`). Unrecognized or surcharged keys emit an `option_ignored` warning. | |
| tag_audio_events | No | Detect non-speech audio events such as laughter, applause, or music. | |
| client_request_id | Yes | Stable retry identity for this billable operation. Reuse only for the exact same generation arguments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| error | No | ||
| usage | No | ||
| status | No | ||
| billing | No | ||
| task_id | No | ||
| terminal | No | ||
| artifacts | No | ||
| resolved_model | No |