一个为 NoneBot2 提供 QQ 丁真语音生成功能的插件,支持轻量级自定义。
Project description
🙏 致谢
感谢项目Bert-VITS2。
感谢chaichaisi作为精神支柱。
感谢丁真对本项目的贡献。
📖 前言
此次是我首次发布插件,写的或有漏缺,或不规范,还望诸位海涵。
目前实测暂未发现bug。如果发现插件bug或有其他建议的请提issue,感激不尽。
别否认,别纳闷,一定还会有下一个丁真。
💿 安装
在开始安装前,请先安装aiofiles。
pip install aiofiles
1. nb-cli安装(推荐)
在bot配置文件同级目录下执行以下命令:
nb plugin install nonebot_plugin_dingzhen
2. pip安装
pip install nonebot_plugin_dingzhen
打开 nonebot2 项目的 bot.py 文件, 在其中写入
nonebot.load_plugin('nonebot_plugin_dingzhen')
当然,如果是默认nb-cli创建的nonebot2的话,在bot路径pyproject.toml的[tool.nonebot]的plugins中添加nonebot_plugin_dingzhen即可。
更新版本
nb plugin update nonebot_plugin_dingzhen
🎉 功能
可以通过语音模型生成一段很像丁真的语音。
👉 命令
丁真/丁真说/speak 内容
如丁真说 这是雪豹
PS: 请查看你env中起始符的配置(默认/)。
💡 未来期望
可能会支持修改配置来改变模型生成语音的参数。
📝 更新日志
展开/收起
1.0.0 beta
- 首次上线
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_dingzhen-1.0.5.3.tar.gz.
File metadata
- Download URL: nonebot_plugin_dingzhen-1.0.5.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d625fd6b7fd6190476e35db62f5fa2f2351ef61dd1f2ba5cb7e945d3a5d20c5f
|
|
| MD5 |
df3b6b9d75b523966524ab2e355f0140
|
|
| BLAKE2b-256 |
f1bd5548e330889e1bfa7d172e4ba4d8c3a07432aeb6a0c268b10b18e614758f
|
File details
Details for the file nonebot_plugin_dingzhen-1.0.5.3-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_dingzhen-1.0.5.3-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce949b6886847cf32dd2adc260e027f8e15e1be58515ba5eeecf19d0e7d0aca4
|
|
| MD5 |
36bfd742a8412b2bad521a46dbbcc2d3
|
|
| BLAKE2b-256 |
de4bf9e95241451d281d6b65ce143e7f73ee5bd3557d47bf7eaeba04b2e1eacb
|