能让b站任何能搜到素材的角色唱歌
Project description
📖 介绍
使用NeuCo v2作为后端,bot作为前端调用的ai唱歌插件,通过爬取b站视频再加上急速训练来做到只要b站上有这个角色的素材就能让这个角色唱b站上有的任何歌,插件可使用设置唱歌链接
来指定后端链接达到随时更换,后端搭建可以本地也可以colab
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-aising
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-aising
pdm
pdm add nonebot-plugin-aising
poetry
poetry add nonebot-plugin-aising
conda
conda install nonebot-plugin-aising
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_aising"]
后端的本地部署
在本地克隆git clone https://huggingface.co/spaces/CCYellowStar/NeuCoSVC-2
这个项目,随后在这个目录pip install -r requirements.txt
安装依赖
解决了各种安装依赖的问题后,就可以python app_colab.py
运行了
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
让xxx唱xxx | 群员 | 否 | 群聊 | 让b站有素材的任何角色唱b站有的歌 |
设置唱歌链接xxx | 超级用户 | 否 | 群聊 | 设置后端运行后输出的公开链接 |
设置唱歌开始时间x | 群员 | 否 | 群聊 | 设置唱歌开始秒数 |
效果图
💡 鸣谢
NeuCoSVC
- 后端原项目
NeuCo v2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot_plugin_aising-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3ebf8f68dab9cf10c1fef70fc7653a05c26e4c6e1cd91ba257e28cfd6aaff2a |
|
MD5 | 43ac1934382ed571f5eca0005ca5afb8 |
|
BLAKE2b-256 | 1979b6879ef93481f8997926855415d72724d70fcc2426cfab1ca8291628f357 |
Close
Hashes for nonebot_plugin_aising-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47ac18e205e313cdad753f50328593b3a9292ae3bcbdf32ea2f53fcd58cfd960 |
|
MD5 | 9f9a260ee64cdb78b07c304cbebc4fdd |
|
BLAKE2b-256 | e713c66cb77cbf461639a74c3359e8f39ce9e58027c3e8b608c9047dbe8e39fa |