Skip to main content

一个为 NoneBot2 提供 QQ 丁真语音生成功能的插件。

Project description

NoneBotPluginLogo

nonebot_plugin_dingzhen

✨ 一款QQ丁真语音生成器 ✨

license pypi python

🙏 致谢

感谢MiDd1Eye提供语音模型

感谢项目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.2.3

  • 参照建议除去了一些不必要的函数参数,并修改了优先级
  • 修调整了插件结构
  • 按照要求禁止在插件目录下保存文件,现改为采用nonebot_plugin_localstore插件的方案。

1.1

  • 稳定版

1.0.0 beta

  • 首次上线

CQUlogo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_dingzhen-1.2.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_dingzhen-1.2.3-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_dingzhen-1.2.3.tar.gz.

File metadata

  • Download URL: nonebot_plugin_dingzhen-1.2.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for nonebot_plugin_dingzhen-1.2.3.tar.gz
Algorithm Hash digest
SHA256 f9439eed67eed23c06fa1aa3d3268a5e5b01b33f89e48ad1c3981e824467de40
MD5 2b61fef9cddfe4a043c04b5c2bbb7a6a
BLAKE2b-256 be93277a27771adc7bf1f09df652428c62f52c6ad53f1b61c7c31b7fca638534

See more details on using hashes here.

File details

Details for the file nonebot_plugin_dingzhen-1.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_dingzhen-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7333e3160fe904f0679bc0d9e35de42252f2afe173e5cf3c63e42aafe90a46b2
MD5 d07c6e2c233afde72994226b4d1065ee
BLAKE2b-256 01fa2ee347b63070c57117892810f1d82fbfd99e3c55cb6fea3f6a08018d9f37

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page