uezo/ChatdollKit
ChatdollKit enables you to make your 3D model into a chatbot
What it solves
ChatdollKit is a 3D virtual assistant SDK that allows developers to transform 3D models (specifically VRM models) into voice-enabled, interactive chatbots. It bridges the gap between Large Language Models (LLMs) and 3D avatars by synchronizing AI-generated text with speech, lip-syncing, facial expressions, and body animations in real-time.
How it works
The SDK integrates several AI components into a Unity-based workflow:
- LLM Integration: Connects to services like ChatGPT, Claude, Gemini, and Dify to generate conversational responses. It supports function calling and multimodal capabilities.
- Speech Pipeline: Uses Speech-to-Text (STT) for listening (e.g., OpenAI, Azure, Google) and Text-to-Speech (TTS) for speaking (e.g., VOICEVOX, Style-Bert-VITS2). It includes Voice Activity Detection (VAD) to handle turn-taking and noise resistance.
- Avatar Control: A
ModelControllermanages the 3D model's state, triggering facial expressions and animations based on tags (e.g.,[face:Joy]) embedded in the LLM's response. - Synchronization: It synchronizes the audio output with lip-syncing and autonomous blinking to create a lifelike presence.
Who it’s for
- Unity Developers: Those looking to build virtual agents, AI Vtubers, or interactive NPCs.
- App Creators: Developers building VR, AR, or WebGL applications that require a conversational 3D interface.
- AI Researchers/Hobbyists: People wanting to embody an LLM in a visual, emotive 3D character.
Highlights
- Multi-Platform Support: Compatible with Windows, Mac, Linux, iOS, Android, VR, AR, and WebGL.
- Natural Interaction: Supports "barge-in" (interrupting the AI mid-sentence) and WebSocket streaming STT to reduce latency.
- Emotive Control: Autonomous switching of voice styles, facial expressions, and gestures based on conversation context.
- Memory & State: Supports long-term memory for conversation history and dynamic multi-language switching.
- Agentic Capabilities: Integration with Dify and AIAvatarKit allows the avatar to act as an AI agent with tool-calling abilities.
Related
- Project
- Project
- Project
- Project