Overview
This plugin allows you to use Gradium as a STT provider for your voice agents.
Quick reference
This section includes a basic usage example and some reference material. For links to more detailed documentation, see Additional resources.
Installation
Install the plugin from PyPI:
uv add "livekit-agents[gradium]~=1.3"
Authentication
The Gradium plugin requires a Gradium API key.
Set GRADIUM_API_KEY in your .env file.
Usage
Use Gradium STT in an AgentSession or as a standalone transcription service. For example, you can use this STT in the Voice AI quickstart.
from livekit.plugins import gradiumsession = AgentSession(stt = gradium.STT(),# ... llm, tts, etc.)
Parameters
This section describes some of the available parameters. See the plugin reference for a complete list of all available parameters.
stringOptionalDefault: NoneThe temperature to be used for decoding, defaults to None aka greedy sampling.
stringOptionalDefault: defaultGradium STT model to use.
stringOptionalDefault: wss://eu.api.gradium.ai/api/speech/asrSets the endpoint to be used, switch to us.api.gradium.ai for US region.
Additional resources
The following resources provide more information about using Gradium with LiveKit Agents.