Active Model:
Connecting...
🔗 Twilio Webhook URL (TwiML):
https://.../twiml
ConversationRelay WebSocket:
wss://.../ws

Live Call Stream

Real-time transcripts, token streaming, and caller interruptions

No Active Calls
📞
Waiting for Calls
Dial into your Twilio phone number, or launch the In-Browser Simulator to start chatting. Spoken words and Gemini streamed responses will appear here in real-time.

Call History

Recent sessions & metrics

No calls recorded yet.
Twilio Relay • Gemini AI
00:00
🤖
Gemini Voice Assistant
Model: gemini-2.5-flash
Ready to Call
Press "Start Call" or type a message below to test your assistant.

Simulator Model Switcher

Switch models on the fly during this simulated call:

Speech Recognition Language:

Packet Inspector

Emulated Twilio ConversationRelay WebSocket packets:

[System] Simulator initialized. Ready to connect.

Gemini 3.5 Transcribe

Speech-to-text powered by gemini-3.5-transcribe with Hebrew understanding and 85+ languages.

Gemini 3.5 ASR
00:00
Click to speak in Hebrew or English
📁
Drag & drop audio file here, or
Supported: WAV, MP3, M4A, OGG, WebM (up to 25MB)

Transcription Output

Recognized speech output with Hebrew & English formatting:

Awaiting Audio
📝
No Transcription Yet
Record your voice or upload an audio file and click "Transcribe with Gemini 3.5" to see the transcribed text.

Gemini Model Configuration

Select the default Gemini model used for incoming Twilio phone calls.

Google Gemini API Key

Your key is stored securely in .env on your machine.

Voice Persona & System Prompt

Define how the assistant introduces itself and speaks to callers.

Optimized for phone TTS: rules to spell numbers and avoid emojis/markdown are automatically enforced.

Text-to-Speech (TTS) & Language Settings

Twilio ConversationRelay voice synthesis and recognition parameters:

Twilio Account Credentials

Enter your Twilio Account SID and Auth Token to connect Twilio Voice ConversationRelay.

Not Connected
Found on the main dashboard of your Twilio Console.
Secret authentication token associated with your Account SID.

Phone Number & Webhook Setup

Select your Twilio phone number and link it to this server with 1 click.

Or enter manually:
Public Server Webhook URL:
https://34.41.149.133.sslip.io/twiml
Method: HTTP POST WebSocket: wss://34.41.149.133.sslip.io/ws
Manual Setup Instructions (Twilio Console)
  1. Go to Phone Numbers > Manage > Active Numbers in the Twilio Console.
  2. Click on your phone number.
  3. Under Voice Configuration, set A CALL COMES IN to Webhook.
  4. Paste the URL: https://34.41.149.133.sslip.io/twiml with HTTP POST.
  5. Click Save.

TwiML XML Preview

ConversationRelay instruction returned to Twilio Voice:

<!-- Loading TwiML... -->
📞
Option A - Inbound Call: Dial +12082853907 from your mobile phone (ensure you dial with +1 or 001 for international calling). Gemini will answer and speak with you!

Option B - Twilio Calls You:

Enter your phone number with country code, and Twilio will ring your phone directly: