Skip to main content
POST
ElevenLabs
Product: Visual Intelligence — Audio File Transcription Use case: Transcribe an uploaded audio/video file to text — async batch or sync, multiple providers (Whisper, ElevenLabs, AssemblyAI) with optional speaker labels. For live streams, see Live Audio Transcription. Host: https://mavi-backend.memories.ai/serve/api/v2 Auth: Authorization: sk-mavi-... (no Bearer prefix)
Uses ElevenLabs Scribe V2 model. Returns results synchronously.
Pricing: $0.39/hour of audio, billed by actual audio duration (in seconds).

Audio Source

You must provide one of the following (priority: asset_id > url > source_url).

Parameters

Authorization
string
required
API key for authentication (e.g. sk-mavi-...).
provider
string
default:"elevenlabs"
STT provider. Use elevenlabs for this endpoint.
asset_id
string
The unique identifier of an uploaded audio/video asset (e.g. re_xxx). Resolved to a signed GCS URL.
url
string
A publicly accessible audio URL.
source_url
string
A gs:// GCS path or public HTTP URL. GCS paths are converted to signed URLs automatically.
language_code
string
Language code (ISO 639-1, e.g. en, zh). If omitted, the provider auto-detects the language.
model_id
string
default:"scribe_v2"
Model to use.
diarize
boolean
Enable speaker diarization.
timestamps_granularity
string
Timestamp level: none, segment, or word.
tag_audio_events
boolean
Tag audio events such as music, laughter, applause.
num_speakers
integer
Expected number of speakers (improves diarization).
file_format
string
Audio format hint (e.g. pcm_s16le_16000).
source_lang
string
Source language for translation.
target_lang
string
Target language for translation.

Code Examples

Response

Response Parameters

Timestamps are in seconds (e.g. 0.52).