QVAC Logo

transcribeStream( )

Streams audio transcription results in real-time.

function transcribeStream(params): AsyncGenerator<string, void, unknown>;

Description

This function streams audio transcription results in real-time, yielding text chunks as they become available from the model.

Parameters

NameTypeRequired?Description
paramsobjectThe arguments for the transcription

params

FieldTypeRequired?Description
modelIdstringModel identifier
audioChunkstring or BufferAudio data (file path or buffer)
promptstringOptional prompt to guide transcription

Returns

AsyncGenerator<string, void, unknown> — AsyncGenerator yielding text chunks as they are transcribed

Throws

When transcription fails with an error message

On this page