Skip to content

Add Grok Voice 4.5 native Plivo example - #25

Open
Sarvesh Patil (sarveshpatil-plivo) wants to merge 7 commits into
mainfrom
sarvesh/xai-realtime-native
Open

Add Grok Voice 4.5 native Plivo example#25
Sarvesh Patil (sarveshpatil-plivo) wants to merge 7 commits into
mainfrom
sarvesh/xai-realtime-native

Conversation

@sarveshpatil-plivo

@sarveshpatil-plivo Sarvesh Patil (sarveshpatil-plivo) commented Jul 24, 2026

Copy link
Copy Markdown

Adds a native speech to speech voice agent example that bridges Plivo Audio Streaming to the xAI Grok voice realtime API over a WebSocket with no transcoding (mu-law 8 kHz on both sides).

Includes

  • inbound and outbound FastAPI servers
  • the grok-voice-think-fast-1.0 model pinned in config
  • live-call, outbound, and multi-turn e2e tests that skip cleanly when live infrastructure or a destination number is not configured

The folder is named grok-voice-4.5-native to follow the model-based naming convention (like gemini3.1-live-native). Legacy examples are untouched.

Rename by the Grok voice model per the naming convention, pin the model to
grok-voice-think-fast-1.0, add the live-call and multi-turn e2e tests, and
mask the example numbers. Legacy examples untouched.
@sarveshpatil-plivo Sarvesh Patil (sarveshpatil-plivo) changed the title Add xAI Realtime native Plivo example Add Grok Voice 4.5 native Plivo example Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant