Skip to main content
xAI Grok Realtime is a speech-to-speech model. It handles transcription, reasoning, and voice synthesis end-to-end in a single model, so it goes in the pipeline’s llm slot with no separate STT or TTS. The Pipeline auto-detects Realtime mode when you pass it.

Setup

Set your xAI API key in the worker environment. Generate a key from the xAI console:

Usage

Pass the realtime model to the pipeline’s llm slot, no stt or tts needed.

Parameters

Constructor parameters for the Python SDK (XaiRealtime).

XaiRealtimeConfig

To pair the realtime model with an external STT or TTS, see Hybrid mode. For general plugin concepts, see the plugins overview.