能让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
- 后端项目
syagina
- 巨大贡献
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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b32e756b4434a384ceb291e3a911167b4eb35fb8213032a1cd3314e65f217a2 |
|
MD5 | 8d9e4900c00e2ce231977710c0838367 |
|
BLAKE2b-256 | 1e423e61801467ee8e513914d6d72bd04d77b06d20bd8b832c3c814050438abb |
Close
Hashes for nonebot_plugin_aising-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f930c99c90cc3317e6bc5b014a62e4c751fe21b32a1926c69e32427ced50bc41 |
|
MD5 | 7eb7f4074b9418867ab22d3328a25a5c |
|
BLAKE2b-256 | b5e317a188913eec4fa981d5d8f30ce1002d765264b7a00d3af693b862faa544 |