You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DictationTranscriber has no method for /v1/transcribe (20 min, MP3/M4A/WebM) #301
Docs ("Using the HTTP API directly") describe two endpoints. DictationTranscriber.transcribe_live() always posts to /v1/transcribe/live (WAV or raw PCM, 120 s max). /v1/transcribe (up to 20 minutes, 256 MB, and AAC/MP3/M4A/Ogg/FLAC/WebM) is marked "HTTP only".
That leaves Python developers without SDK support for common real-world inputs:
Audio uploaded from a browser MediaRecorder (WebM/Opus or MP4/AAC) has to be decoded to WAV server-side before transcribe_live, or posted by hand.
Phone voice memos are M4A.
Anything over 120 s has to be hand-rolled.
I verified /v1/transcribe accepts MP3 and WebM (200) and that /live rejects MP3 with a clear 415 pointing at /v1/transcribe.
Ask: add DictationTranscriber.transcribe(audio, config) (and the async counterpart): buffered, compressed formats, 20 min, reusing DictationConfig validation and final_text. A helper for the documented "start on /live, fall back when it answers 413" pattern would be a nice follow-up. The Node SDK has the same gap.
Activity