项目
在 GitHub 查看
AgriciDaniel/claude-avatar
关于
3D talking avatar connected to Claude Code CLI - voice conversation with lip-sync
开发工具实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Claude Avatar
A 3D talking avatar connected to Claude Code CLI for real-time voice conversation — no API keys required.
Built on top of TalkingHead by Mika Suominen (MIT License).
How it works
Mic → faster-whisper (GPU) → Claude Code CLI → edge-tts → Avatar lip-sync
- Voice input — MediaRecorder → ffmpeg WAV → faster-whisper
large-v3-turboon CUDA - Claude — Persistent
claudeCLI session viastream-jsonprotocol (~5s response, no startup overhead) - Voice output — edge-tts
en-US-AvaMultilingualNeuralwith word-level timing → TalkingHead lip-sync - UI — Split layout: 3D avatar + chat (top) / CLI activity log (bottom)
Requirements
- Claude Code CLI installed and authenticated
- Python 3.10+
- Node.js 18+
- ffmpeg
- NVIDIA GPU (for faster-whisper CUDA)
pip install faster-whisper edge-tts
npm install
Run
node claude/server.cjs
Then open claude/index.html in your browser (or serve it via a local HTTP server).
File structure
claude/
server.cjs # WebSocket bridge — Claude CLI + Whisper + TTS
index.html # Frontend — avatar, chat, CLI log
tts.py # edge-tts neural voice with word boundaries
transcribe_server.py # Persistent Whisper server (model stays in VRAM)
transcribe.py # One-shot Whisper fallback
Credits
- TalkingHead — Mika Suominen (MIT License)
- faster-whisper — GPU-accelerated transcription
- edge-tts — Microsoft neural voices
- Three.js — 3D rendering
License
MIT — see LICENSE. Original TalkingHead library © 2023-2024 Mika Suominen.
Author
Built by Agrici Daniel - AI Workflow Architect.
- Blog - Deep dives on AI marketing automation
- AI Marketing Hub - Free community, 2,800+ members
- YouTube - Tutorials and demos
- All open-source tools
探索相关项目
加载中…