AI VTuber nói tiếng Việt với độ tuỳ chỉnh cao.
- Streaming part: Watch on YouTube
- Gaming part: Watch on YouTube
- Chơi được osu!
- Tính cách có thể tuỳ chỉnh
- Giọng TTS
- Bộ nhớ 3 lớp giúp duy trì ngữ cảnh trò chuyện
- Đã cài Redis
- Đã cài VB Audio Virtual Cable
- Python 3.11
python -m venv .venv
.venv\Scripts\activate # Windows
pip install -r requirements.txtNếu định chơi game thì chạy thêm lệnh sau:
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu128Điền thông tin vào file .env theo file hướng dẫn mẫu có sẵn.
- Mở game osu!
- Mở tosu
- Chỉnh file
play-live.pycho đúng đường dẫn thư mục của file mô hình và game. - Chạy file
play-live.py. - Mũi tên trái / phải: Tăng / giảm offset.
- Phím 1 / 2 / 3: Thay đổi tần số cập nhật của mô hình 60hz / 90hz / 120hz (Recommend 90 hoặc 120).
- Bật một beatmap bất kỳ và AI sẽ tự chơi.
Mở VTube Studio, sau đó chạy các lệnh sau trong terminal tuỳ theo nhu cầu:
# Chỉ chạy model cơ bản
python src/main.py
# Có thêm giọng nói (TTS)
python src/main.py --tts
# Đọc được trạng thái game (cần mở tosu trước)
python src/main.py --game
# Đọc từ kênh chat YouTube
python src/main.py --youtube
# Nhận diện giọng nói (Speech-to-Text)
python src/main.py --stt
# Chạy đầy đủ tính năng
python src/main.py --tts --game --stt --youtube
# Chế độ Debug
python src/main.py --debugKhi đang chạy trong terminal, bạn có thể dùng các lệnh sau:
/quithoặc/exit- Thoát chương trình./clear- Xoá lịch sử trò chuyện trong bộ nhớ ngắn hạn./log- Tổng hợp lại log chat trong cả ngày stream vào bộ nhớ dài hạn.
- Hệ thống được test ở máy net với cấu hình RTX 4060, i5-12k, 32GB RAM. Nhưng máy yếu hơn chắc vẫn ổn.
- Để hiện phụ đề khi stream: Trong OBS, thêm source
Browser, trỏ đường dẫn vào file/obs/subtitles.html. - Chỉnh sửa tính cách nhân vật: Tạo file
config/prompts/system_prompt.txt(tham khảo file example có sẵn). - Chỉnh
CREATOR_YOUTUBE_IDvàCREATOR_DISPLAY_NAMEtrongconfig/settings.pythành thông tin của bạn.
- Tối ưu hoá nó lên (nếu được)
- GUI hoá cái đống này
- Tích hợp OpenClaw để nó rep người xem trên discord (?)
- Kiếm cái model Live2D xịn hơn để test mấy cái action
- subscribe to ペトラ
- pls enjoy game
⬆️ Quay lại đầu trang / Back to top
A highly customizable Vietnamese-speaking AI VTuber.
- Streaming part: Watch on YouTube
- Gaming part: Watch on YouTube
- Can play osu! automatically.
- Highly customizable personality.
- Integrated TTS (Text-to-Speech) voice.
- 3-layer memory architecture to maintain deep conversational context.
- Redis installed and running
- VB Audio Virtual Cable installed
- Python 3.11
python -m venv .venv
.venv\Scripts\activate # Windows
pip install -r requirements.txtIf you plan to use the gaming feature, install PyTorch additionally:
pip3 install torch torchvision --index-url https://download.pytorch.org/whl/cu128Fill in your .env file following the provided example/guide file.
- Open osu!
- Open tosu.
- Edit
play-live.pyto ensure the file paths for the model and game directories are correct. - Run
play-live.py. - Left / Right Arrow keys: Increase / decrease offset.
- Keys 1 / 2 / 3: Change the model's refresh rate to 60Hz / 90Hz / 120Hz (90 or 120 is recommended).
- Start any beatmap and the AI will play it automatically.
Open VTube Studio, then run the following commands in your terminal depending on what you need:
# Base model only
python src/main.py
# With Text-to-Speech (TTS)
python src/main.py --tts
# With Game status reading (requires tosu to be open)
python src/main.py --game
# Read YouTube live chat
python src/main.py --youtube
# With Speech-to-Text (STT) for the creator
python src/main.py --stt
# Full features
python src/main.py --tts --game --stt --youtube
# Debug mode
python src/main.py --debugWhile the terminal interface is running:
/quitor/exit- Exit the program./clear- Clear chat history in short-term memory./log- Summarize the entire stream's chat logs and save them into long-term memory.
- The system was tested on a cybercafe PC (RTX 4060, i5-12k, 32GB RAM), but weaker specs should probably be fine.
- To display subtitles on stream: In OBS, add a
Browsersource and point it to the local file/obs/subtitles.html. - To edit the character's personality: Create/edit
config/prompts/system_prompt.txt(refer to the provided example). - Change
CREATOR_YOUTUBE_IDandCREATOR_DISPLAY_NAMEinconfig/settings.pyto your own details.
- Optimize performance (if possible).
- Build a GUI for all of this.
- Integrate OpenClaw so it can reply to viewers on Discord (?).
- Find a better Live2D model to test out different actions.
- subscribe to ペトラ
- pls enjoy game