Fal
Orate supports Fal's transcription services.
Fal is a generative media platform for developers, helping you build the next generation of creativity. Orate supports Fal's transcription services.
Setup
The Fal provider is available by default in Orate. To import it, you can use the following code:
Configuration
You can use Fal by creating a new instance of the Fal
class:
This will use the FAL_API_KEY
environment variable. If you don't have this variable set, you can pass your API key as an argument to the constructor.
Usage
The Fal provider provides a single interface for all of Fal's transcription services.
Speech to Text
The Fal provider provides a stt
function that allows you to create a speech-to-text transcription function using Fal's models. By default, the stt
function uses the fal-ai/whisper
model.
You can specify the model to use by passing it as an argument to the stt
function.
You can also specify specific Fal properties by passing them as an argument to the stt
function.
You can also stream the transcription.