Skip to main content

Pallas-Bot 官方扩展:牛牛唱歌与牛牛说(TTS)。

Project description

牛牛唱歌

牛牛唱歌 / 牛牛说 pallas-plugin-ai-media

提供牛牛唱歌与文字转语音(TTS),依赖 Pallas-Bot-AI 媒体服务。

官方插件 控制台插件商店 安装命令 PyPI 版本

安装方式

需已安装 Pallas-Bot ≥ 4.0,并部署 Pallas-Bot-AI

推荐直接在控制台插件商店安装,或在本体项目中执行:

uv run pallas ext install pallas-plugin-ai-media

也可单独安装本包:

uv pip install pallas-plugin-ai-media

酒后对话由本体 llm_chat 承接(纯文字)。语音请用本包「牛牛说」。

怎么使用

牛牛唱歌(sing)

AI 翻唱、续唱、点歌与查歌名;依赖 AI 仓与本体 callback 回传音频。

口令 / 触发 场景 说明
牛牛唱歌 歌曲名 [key=±N] 群内 AI 翻唱
牛牛继续唱 / 牛牛接着唱 群内 续唱上一首
牛牛点歌 歌曲名 群内 网易云原曲
牛牛什么歌 / 牛牛哪首歌 群内 查询当前曲目
网易云登录 / 网易云登出 私聊 超管维护 Cookie
命令 ID 默认等级
sing.ncm_login 仅超管
sing.ncm_logout 仅超管

牛牛说(tts)

口令 / 触发 场景 说明
牛牛说 〈文本〉 群内 侧车 TTS 合成语音
命令 ID 默认等级
tts.speak 所有人

详细用法、限制条件和可用范围以帮助为主。

配置项

可在控制台对应插件页中修改。

排障

现象 处理
唱歌无语音 查 AI 服务、/callback 可达;牛牛连通 测唱歌网关
「牛牛说」无语音 确认插件页已启用 TTS;/v1/tts 与 Bearer 与 AI 侧一致;音色默认已配置

实现

相关链接

说明 链接
唱歌 文档站 · sing
智能对话 / 酒后 文档站 · llm_chat
Pallas-Bot-AI GitHub

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

pallas_plugin_ai_media-4.2.1.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

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

pallas_plugin_ai_media-4.2.1-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file pallas_plugin_ai_media-4.2.1.tar.gz.

File metadata

  • Download URL: pallas_plugin_ai_media-4.2.1.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for pallas_plugin_ai_media-4.2.1.tar.gz
Algorithm Hash digest
SHA256 6e382e0ddbc599c557b4bdf141e2a926381b99bdea86938505f76485cd2ebaac
MD5 8004f292d391ae551763382b68630bed
BLAKE2b-256 b8b6465b32a094a59ac356b687c8348adb9af0614622dc699cb27da6769182df

See more details on using hashes here.

Provenance

The following attestation bundles were made for pallas_plugin_ai_media-4.2.1.tar.gz:

Publisher: publish-pypi.yml on PallasBot/Plugin-Ai-Media

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pallas_plugin_ai_media-4.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pallas_plugin_ai_media-4.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc25f5e1d771c660d5c6a48f9bf4c6cb238b0dc8c9e4e0c8645a88a762a82c43
MD5 2e01618b46e13a708d685e9da4e42aa1
BLAKE2b-256 311f7f3adc480b3909b73da897bd099eb095549ac1dccd4dbbe5ed9d840551cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pallas_plugin_ai_media-4.2.1-py3-none-any.whl:

Publisher: publish-pypi.yml on PallasBot/Plugin-Ai-Media

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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