Text or Audio (Base64) Echo

-
Text Echo
- Bypasses Perception, STT, and LLM
- Sends raw text directly to the TTS Layer
- Useful for manually scripted speech and interrupt control
-
Audio (Base64) Echo
- Bypasses all layers except the Realtime Replica Layer
- Sends base64-encoded audio for direct playback by the face
Send text or base64 audio using the Interaction events.
Microphone Echo

- Bypasses all CVI layers (Perception, STT, LLM, TTS)
- Streams pre-generated audio directly into the face
- All interrupt logic must be embedded in your audio stream
Echo Mode Quickstart
Prerequisites
Before you begin, ensure the following dependencies are installed:flask-
daily-python
Create an Echo Mode Conversation
Step 1: Create an Echo PAL
Use the following request to create a PAL:
cURL
Replace
<api_key> with your actual API key. You can generate one in the PAL Maker.Step 2: Create a Conversation
Create a conversation with your newly created
pal_id:cURL
- Replace
<api_key>with your actual API key. - Replace
<your_pal_id>with your newly created PAL ID.
Step 3: Create an App
Create a file named
script.py and paste the following code:This script starts a Flask app that connects to a Daily room and sends echo interaction messages to your PAL.
Step 4: Execute the Code
Run the script:
Replace
<conversation_url> with the URL returned when creating your conversation.
