简体中文 | English
AI Vtuber Kun is a virtual YouTuber powered by OpenAI, capable of real-time interaction with viewers on Bilibili live streaming platform. It uses natural language processing and text-to-speech technology to generate answers to viewers' questions.
Community: 745682833
- Python 3.7 or higher
- OpenAI API key
- Bilibili account and room ID
openai
,yttsx3
, andbilibili-api-python
Python libraries
- Clone the repository:
git clone https://github.com/XzaiCloud/AI-Vtuber-Kun.git
- Install the required packages:
pip install openai pyttsx3 bilibili-api-python
- Run the program:
python main.py
- Start live streaming on Bilibili and enter your live room.
- AI-Vtuber-Kun will start generating answers to viewers' questions in real-time and delivering them via speech.
- Source > + > Browser > New > URL: https://bilichat.3shain.com/bilibili/your_live_room_id Audio Configuration
- Source > + > Application Audio Capture > New > Choose Python
- Preferences > Live Streaming > Service: Bilibili Live ...
- Stream code: Enter "Stream Key" which can be found by going to homepage > avatar > recommended services > live center > my live room (on the left) > fill in live category and room title > start live streaming.
- Any skin will do.
- Implement sensitive word filtering
- Add Microsoft TTS support
This project is licensed under the Apache License 2.0. See the LICENSE file for details.