Installation
Install the Stream Wizper plugin withExample
Check out our auto-translation example to see a practical implementation of the plugin and get inspiration for your own projects, or read on for some key details.Initialisation
First, make sure you’ve created an API key for the FAL.ai service and set theFAL_KEY environment variable to your API key.
The Wizper plugin is exposed via the STT class:
Parameters
You can customise the behaviour of Wizper through the following parameters:| Name | Type | Default | Description |
|---|---|---|---|
task | str|None | transcribe | Task to perform on the audio. Either transcribe or translate. Default value: “transcribe”. |
target_language | str|None | None | ISO-639-1 code. If set, Wizper translates the recognised text to this language. |
sample_rate | int | 48000 | Incoming PCM sample rate in Hertz. |
Functionality
Process Audio
Events
The plugin emits the standard Stream STT events:Transcript Event
Error Event
Close
When you’re done, close the Wizper connection withclose():

