Transcribe audio to text
Changed onCreates an asynchronous speech-to-text transcription task (0.5 seconds to 60 minutes, up to 100 MiB). With model="auto", standard transcription routes to doubao-seed-asr-2.0 while requests setting tag_audio_events=true or num_speakers automatically route to elevenlabs-scribe-v3 when available. Charged per started input audio minute. When the task succeeds, output contains {type: "speech_to_text", model, text, language, duration_seconds, segments, audio_events, subtitles}.
Request
- Base URLhttps://api.beatra.ai (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: Idempotency-Key
Headers
Request body
POST /v1/audio/transcriptions request body.
Caller-supplied metadata; ≤16 keys, key ≤64 chars, value ≤512 chars
HTTPS URL beatra will POST the final Task envelope to when the Task reaches a terminal state
Optional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided.
Source audio file (artifact_id or HTTPS url; 0.5-3600.0 seconds, <= 100 MiB). Accepts audio or source.
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).
Language hint (auto or BCP-47 tag such as zh, en, ja-JP).
Annotate speaker turns in transcript segments when true.
Optional expected speaker count hint (1-32).
Detect non-speech audio events such as laughter, applause, or music.
Emit timed subtitle artifacts (json, srt, vtt) alongside the transcript.
Optional model-family-specific options (for example, {"elevenlabs": {...}} or {"doubao": {...}}). Unrecognized or surcharged keys emit an option_ignored warning.
Response
Task accepted
Standard Task envelope.
Returned by every async-creation endpoint, GET /v1/tasks/{id}, and the body of customer callback POSTs.
Caller-requested model verbatim (may be 'auto'). Null for social_operation tasks.
Actual model that ran (null until execution starts; equals model for explicit-model calls)
Changes
- info
endpoint added
- info