能让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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91995c8b926e228dab98e2cecd1da29e6c090761fc8e83c068cf938e7c9fc095 |
|
MD5 | 085f26d4776d5c446274b9e67d329ede |
|
BLAKE2b-256 | 41c484d9ee413f712a354970e6ebec4c523d440973735da44f9ef9b246e38467 |
Close
Hashes for nonebot_plugin_aising-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32bfc1c3be99cc497733710b538195dc6ceb46825d3721c7f5b89ac95d307260 |
|
MD5 | 2238430701d55fcb5aceed379bbacc60 |
|
BLAKE2b-256 | 6b66b56a5f5c2ab5d76a0b9bd4abf4d8e43b6412e2080b95f43bd4421a9201d6 |