牛牛唱歌 / 牛牛说 pallas-plugin-ai-media
提供牛牛唱歌与文字转语音(TTS),依赖 Pallas-Bot-AI 媒体服务。
安装方式
需已安装 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 配置 · 媒体:服务地址与 Bearer 在「媒体服务」连接里配置;音色映射 / 启停等在「唱歌」「TTS」面板(与插件页同源)。
自备唱歌音色放到 AI 仓 resource/sing/models/<音色名>/。
排障
| 现象 | 处理 |
|---|---|
| 唱歌无语音 | 查 AI 服务、/callback 可达;牛牛连通 测唱歌网关 |
| 「牛牛说」无语音 | 确认已启用 TTS;媒体服务 Bearer 与 AI 侧 PALLAS_AI_API_TOKEN 一致;音色默认已配置 |
实现
相关链接
| 说明 | 链接 |
|---|---|
| 唱歌 | 文档站 · sing |
| 智能对话 / 酒后 | 文档站 · llm_chat |
| Pallas-Bot-AI | GitHub |
Metadata
Release files for pallas-plugin-ai-media 4.3.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pallas_plugin_ai_media-4.3.18.tar.gz | 3.9 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pallas_plugin_ai_media-4.3.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.9 MB
Release files / pallas_plugin_ai_media-4.3.18.tar.gz
| Download URL | pallas_plugin_ai_media-4.3.18.tar.gz |
|---|---|
| Size | 3.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
887ca94ef6d5e2e26356e6447e6fdb98a3cc7a4078793c10440214f7959b73e9
|
|
BLAKE2b-256 checksum How to use checksums |
ded6be9cf27875ad73b58adda95cb075ad429df51204dc6b0bb44325dd1bf2f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency logRelease files / pallas_plugin_ai_media-4.3.18-py3-none-any.whl
| Download URL | pallas_plugin_ai_media-4.3.18-py3-none-any.whl |
|---|---|
| Size | 56.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8cd4b1333d64b23d33e2dc73cd41723ab6a8dc32ab2f541c18b3601fc9e1d6b4
|
|
BLAKE2b-256 checksum How to use checksums |
42d1f8fa8c9ee4cd94fc97bbd59bdf27bca5b6744866eee1ce9973330268d404
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.
Transparency log