tavus-cvi-quickstart
Tavus CVI Quick Start
Get a real-time AI video conversation running in minutes.
Fastest Path: Use Stock Resources
curl -X POST https://tavusapi.com/v2/conversations \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"replica_id": "rfe12d8b9597",
"persona_id": "pdced222244b"
}'
Response:
{
"conversation_id": "c123456",
"conversation_url": "https://tavus.daily.co/c123456",
"status": "active"
}
Open conversation_url in browser to join the call.
Stock Resources
Replicas (the visual avatar):
rfe12d8b9597- Defaultre8e740a42- Nathan
Personas (behavior/personality):
pdced222244b- Defaultp24293d6- Celebrity DJ
Create Custom Persona + Conversation
Step 1: Create Persona
curl -X POST https://tavusapi.com/v2/personas \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"persona_name": "Sales Coach",
"pipeline_mode": "full",
"system_prompt": "You are a friendly sales coach helping reps practice cold calls. Ask probing questions and give constructive feedback.",
"context": "Focus on B2B SaaS sales scenarios.",
"default_replica_id": "rfe12d8b9597"
}'
Response:
{
"persona_id": "p123456",
"persona_name": "Sales Coach"
}
Step 2: Start Conversation
curl -X POST https://tavusapi.com/v2/conversations \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"persona_id": "p123456",
"conversation_name": "Practice Session"
}'
Conversation Options
{
"persona_id": "p123456",
"replica_id": "rfe12d8b9597",
"conversation_name": "Demo Call",
"conversational_context": "User is interested in enterprise pricing.",
"custom_greeting": "Hi! I'm excited to help you today.",
"callback_url": "https://your-webhook.com/tavus",
"properties": {
"enable_recording": true,
"max_duration": 600
}
}
End Conversation
curl -X POST https://tavusapi.com/v2/conversations/{conversation_id}/end \
-H "x-api-key: YOUR_API_KEY"
Key Concepts
| Concept | What it is |
|---|---|
| Replica | The visual avatar (face, appearance) |
| Persona | Behavior, voice, LLM config, system prompt |
| Conversation | A live WebRTC session combining replica + persona |
Pipeline Modes
full- Complete CVI with perception, STT, LLM, TTS (recommended)echo- Bypass LLM, replica speaks what you send directlyaudio- Audio-only, no video
Latency
~600ms utterance-to-utterance response time with full pipeline.
Next Steps
- tavus-cvi-persona - Deep dive on persona configuration
- tavus-cvi-ui - React component integration
- tavus-cvi-interactions - Control conversations programmatically
- tavus-cvi-knowledge - Add knowledge base and memories
More from tavus-engineering/tavus-skills
tavus-video-gen
Generate AI videos with Tavus replicas. Use when creating personalized videos from scripts or audio, adding custom backgrounds, watermarks, or generating videos at scale. Covers the video generation API, not real-time conversations.
29tavus-replica
Create and manage Tavus replicas (AI digital twins). Use when training custom replicas from video, listing stock replicas, or managing replica assets. Covers training video requirements, consent statements, and the Phoenix-3 model.
28tavus-overview
Overview of Tavus, the AI research lab pioneering human computing. Use when you need context about what Tavus is, their mission, core concepts like CVI and Human Computing, the model stack (Phoenix, Raven, Sparrow), or links to docs/platform/resources.
28tavus-cvi-interactions
Control Tavus CVI conversations in real-time using the Interactions Protocol. Use when sending text for the replica to speak (echo), interrupting the replica, injecting context mid-conversation, handling tool calls, or listening to conversation events via WebRTC/Daily.
28tavus-cvi-ui
Integrate Tavus CVI into React apps using @tavus/cvi-ui components. Use when embedding conversations in web apps, customizing the video UI, using React hooks for CVI events, or building custom conversation interfaces with Vite/Next.js.
27tavus-cvi-knowledge
Add knowledge bases and persistent memories to Tavus CVI personas. Use when uploading documents for RAG, enabling personas to reference PDFs/websites, persisting context across conversations, or building personas that remember users.
27