Skip to main content

利用MockingBird生成语音并发送

Project description

nonebot_plugin_mockingbird

此项目灵感来源于 Diaosi1111/nonebot_mockingbird_plugin

食用方法

  1. 使用 nb-cli
nb plugin install nonebot_plugin_mockingbird
  1. 使用 pip
pip install nonebot_plugin_mockingbird

使用方法

使用:

@Bot 说 [你想要bot说的话]

其他操作:

显示模型 # 显示出可供修改的模型
# 修改指令
修改模型 [序号]\[模型名称]
重载模型 进行模型重载(并没有什么卵用,或许以后内存泄漏解决会有用?)
调整/修改精度 修改语音合成精度
调整/修改句长 修改语音合成最大句长
更新模型 更新模型列表

欢迎pr提供模型和模型下载地址

在 nonebot_plugin_mockingbird/resource/model_list.json 中添加

json 模板

{
  "azusa": {
    "nickname": "阿梓语音",
    "url": {
      "record_url": "https://pan.yropo.top/home/source/mockingbird/azusa/record.wav",
      "model_url": "https://pan.yropo.top/home/source/mockingbird/azusa/azusa.pt"
    }
  }
}

特别感谢

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-mockingbird-0.2.1.tar.gz (7.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_mockingbird-0.2.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file nonebot-plugin-mockingbird-0.2.1.tar.gz.

File metadata

  • Download URL: nonebot-plugin-mockingbird-0.2.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.8.10 Linux/5.11.0-1028-oracle

File hashes

Hashes for nonebot-plugin-mockingbird-0.2.1.tar.gz
Algorithm Hash digest
SHA256 877b50c2ea541a34c6d3362c7c7fce25ea8fee5c33c1cfbf45f5e8837599f0f8
MD5 1174dd3d009574e29d4b7e703ddc8b2b
BLAKE2b-256 329514171e66d106f2eb863060fdf3f9a25de823f8e3eaa2b9eb54afb8591c0e

See more details on using hashes here.

File details

Details for the file nonebot_plugin_mockingbird-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_mockingbird-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c2ddb072578acbcc9333a3228c37564950889e32cab329c79677372a0082db0
MD5 9a767761704ea212a28ba714a0ac12aa
BLAKE2b-256 16cbd570100496f8960e278dcc772c6dec031845fb41168d3f94e145339156da

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