Skip to main content
Core.Today
|
Billing note Credits are reserved in 5-minute (300s) blocks as the session runs and settled on the seconds of audio you sent - silence included, not connection time. This model speaks ElevenLabs' message format, which differs from the Meta realtime model: audio goes in JSON text frames (base64), not binary frames. If the gateway is redeployed mid-session, your connection is closed and any partial block is settled and refunded - nothing is lost.
ElevenLabsFastUltra

ElevenLabs Scribe v2 (Realtime)

ElevenLabs' Scribe v2 Realtime speech recognition over a WebSocket - stream base64 audio chunks and receive partial and committed transcripts while you speak, with optional voice-activity commits and word timestamps. Billed per second of audio sent (0.142083 credits/s, silence included), sessions up to 20 minutes.

43 credits
per 5-minute block (0.142083 credits/s)
Partial transcripts about every 250 ms while the caller is still speaking
Automatic language detection, Korean included
Manual commits or voice-activity (VAD) commits at the end of each utterance
Optional word and character timestamps on committed segments
PCM 8-48 kHz or 8 kHz mu-law input; sessions up to 20 minutes

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "elevenlabs/scribe-v2/realtime",
  "input": {
    "model": "elevenlabs/scribe-v2/realtime",
    "audio_format": "pcm_16000",
    "commit_strategy": "vad",
    "language_code": "ko"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
modelstringYes-Model id, sent in the handshake. Handshake field names are case-sensitive and sent exactly as listed here (snake_case) - unknown fields are rejected.
elevenlabs/scribe-v2/realtime
audio_formatstringNopcm_16000Encoding of the audio in each chunk - raw 16-bit little-endian mono PCM at the given sample rate, or 8 kHz mu-law. pcm_16000 is recommended.
pcm_8000pcm_16000pcm_22050pcm_24000pcm_44100pcm_48000ulaw_8000
language_codestringNo-Language hint as an ISO 639-1 or 639-3 code (ko, en, kor ...). Omit for automatic detection.
commit_strategystringNo-manual (upstream default) commits a segment only when a chunk carries commit true; vad commits automatically at the end of each utterance.
manualvad
vad_silence_threshold_secsnumberNo-Silence that ends an utterance when commit_strategy is vad, 0.3-3.0 seconds (upstream default 1.5).
vad_thresholdnumberNo-Voice-activity sensitivity when commit_strategy is vad, 0.1-0.9 (upstream default 0.4).
min_speech_duration_msintegerNo-Shortest sound treated as speech, in milliseconds (upstream default 100).
min_silence_duration_msintegerNo-Shortest gap treated as silence, in milliseconds (upstream default 100).
include_timestampsbooleanNo-Also send committed_transcript_with_timestamps (word and character times) after each committed_transcript.
include_language_detectionbooleanNo-Add the detected language_code to partial and timestamped committed events.
customerIdstringNo-End-customer id for reseller teams (same as the X-Customer-Id header on HTTP routes). Must come from the same source as the API key.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Handshake - Korean with automatic commits

First text frame after connecting to wss://api.core.today/v1/realtime/asr (X-API-Key header). Then send {"message_type":"input_audio_chunk","audio_base_64":"...","commit":false,"sample_rate":16000} frames at 1x speed and finish with {"type":"endStream"}.

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "elevenlabs/scribe-v2/realtime",
  "input": {
    "model": "elevenlabs/scribe-v2/realtime",
    "audio_format": "pcm_16000",
    "commit_strategy": "vad",
    "language_code": "ko"
  }
}'

Tips & Best Practices

1Connect to wss://api.core.today/v1/realtime/asr with the X-API-Key header, send the handshake JSON as the first text frame, and wait for {"type":"session"} before sending audio
2Audio goes in JSON text frames: message_type input_audio_chunk, audio_base_64, commit, sample_rate (must match audio_format). Binary frames are rejected. Keep each chunk at 1 second of audio or less - 0.1 to 0.25 s works well
3Events arrive in ElevenLabs' format: session_started, partial_transcript (replaces the previous partial), committed_transcript (final for that segment) and, when include_timestamps is on, committed_transcript_with_timestamps
4End with {"type":"endStream"}: the gateway commits any audio still pending, relays the last committed transcript, then sends {"type":"usage"} with the billed seconds and closes 1000
5Send audio at real-time speed. Sending faster than 1x (plus 5 s of slack) closes the session with pacing_violation - for recorded files use the elevenlabs/scribe-v2 prediction model, which is also cheaper
6Silence is billed and keeps the session alive: 10 seconds without any audio closes it with idle_timeout, so pad pauses with silent chunks
7Scribe v3 Live (elevenlabs/scribe-v3/realtime) is the newer model at the same rate - prefer it for new work

Use Cases

Live captioning or subtitles for a call or presentation
Voice-driven interfaces that need transcripts while the user is talking
Telephony streams (8 kHz mu-law) transcribed as they arrive