Get MetaHuman Engine running in 5 minutes.
| Requirement | Version | Check Command |
|---|---|---|
| Node.js | ≥ 18 | node --version |
| npm | ≥ 9 | npm --version |
| Python | ≥ 3.10 | python --version |
| Git | Any | git --version |
git clone https://github.com/LessUp/meta-human.git
cd meta-humannpm installnpm run devOpen http://localhost:5173 — your 3D avatar is ready!
✅ No API key required. The engine automatically falls back to local mock mode.
meta-human/
├── src/ # Frontend source code
│ ├── components/ # React components
│ ├── core/ # Engine modules
│ │ ├── avatar/ # 3D rendering
│ │ ├── audio/ # TTS & ASR
│ │ ├── dialogue/ # Chat service
│ │ └── vision/ # Face tracking
│ ├── store/ # Zustand stores
│ └── hooks/ # Custom hooks
├── server/ # FastAPI backend
├── docs/ # Documentation
├── public/ # Static assets
└── dist/ # Build output
- Type a message in the chat input
- Press Enter or click Send
- Watch the avatar respond with:
- Text reply in the chat panel
- Voice synthesis (TTS)
- Facial expression matching emotion
- Gesture animation (wave, nod, etc.)
- Click the microphone button
- Speak your message
- Release to send
- The avatar responds automatically
- Click Enable Camera
- Allow camera access
- Show expressions to the camera:
- 😊 Smile → Avatar smiles
- 😮 Surprise → Avatar surprised
- 😢 Sad → Avatar concerned
- 😠 Angry → Avatar sympathetic
Create .env.local in the project root:
# Backend API URL
VITE_API_BASE_URL=http://localhost:8000
# Chat transport: http | sse | websocket | auto
VITE_CHAT_TRANSPORT=autoCreate server/.env:
# Optional: OpenAI API for AI responses
OPENAI_API_KEY=sk-...
# Optional: Custom OpenAI endpoint
OPENAI_BASE_URL=https://api.openai.com/v1
# LLM provider: openai | azure
LLM_PROVIDER=openai
# Rate limiting
RATE_LIMIT_RPM=60
# CORS origins
CORS_ALLOW_ORIGINS=http://localhost:5173# Start dev server
npm run dev
# Type checking
npm run typecheck
# Linting
npm run lint
# Format code
npm run format
# Build for production
npm run build
# Run tests
npm run testcd server
# Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate # Linux/Mac
# or: venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txt
# Start backend
uvicorn app.main:app --reload --port 8000Backend runs at http://localhost:8000
Interactive docs at http://localhost:8000/docs
- Installation Guide — Detailed setup instructions
- Configuration — All environment variables
- API Reference — Backend API documentation
- Architecture — System design
# Find and kill process on port 5173
lsof -ti:5173 | xargs kill -9rm -rf node_modules package-lock.json
npm install- Check if backend is running:
curl http://localhost:8000/health - Verify
VITE_API_BASE_URLin.env.local - Check CORS settings in backend
- Ensure HTTPS or localhost (browsers block camera on HTTP)
- Check browser permissions
- Try a different browser (Chrome/Edge recommended)
🎉 You're ready to build with MetaHuman Engine!