Skip to main content

牛牛画画

牛牛画画 pallas-plugin-draw

提供群内 AI 生图与参考图改图能力。

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

安装方式

需已安装 Pallas-Bot ≥ 4.0。

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

uv run pallas ext install pallas-plugin-draw

也可单独安装本包:

uv pip install pallas-plugin-draw

怎么使用

群内 AI 生图;可纯文字或带参考图(附图/回复图)。依赖画画网关,可配置每日次数。

可选安装社区插件 牛牛爱发电(afdian) 后,免费用尽可使用额外额度;未安装时行为与原先一致,不会出现付费相关提示。

用户命令

口令 / 触发 场景 说明
牛牛画画 … 群内 按描述生图或改图

命令权限

命令 ID 默认等级
draw.draw 所有人

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

配置项

WebUI 插件 → 牛牛画画 或 服务网关 / 连通性;字段前缀为 pallas_image_*(历史命名,见文档站)。

完整键:本仓库 config.py

排障

现象 处理
失败提示 看返回文案;用 牛牛连通 测网关
次数用尽 等待重置或调配额

实现

源码位置:src/pallas_plugin_draw/

关键文件:

实现要点:

  • 在 Bot 进程内直连配置的画画网关;主/备线可填 provider_id 沿用 AI · Provider 凭证,也可手动填写 base_url / api_key。
  • 支持纯文本生成与带参考图的改图路径。
  • 结果依赖外部画图网关,失败时以返回文案和连通性为主要事实源。

相关链接

说明 链接
牛牛画画 · 用户文档 文档站 · draw
插件开发入门 develop/plugin/getting-started

Metadata

Release files for pallas-plugin-draw 4.1.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pallas-plugin-draw 4.1.15
File Size Uploaded
pallas_plugin_draw-4.1.15.tar.gz 2.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pallas-plugin-draw 4.1.15
File Interpreter ABI Platform
pallas_plugin_draw-4.1.15-py3-none-any.whl Python 3 none any Details

Total release size: 2.6 MB

Release files / pallas_plugin_draw-4.1.15.tar.gz

Download URL pallas_plugin_draw-4.1.15.tar.gz
Size 2.5 MB
Tags Source
SHA-256 checksum
How to use checksums
58be3331d34b5f13d5b65df216a9ec51908a844f4dd81acc042cf273dcfd2b50
BLAKE2b-256 checksum
How to use checksums
a1747661096ef5293f7bf37ca3c6e0b3a3e67b1211abad48a232bcea62b6b832
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 Aug 13, 2026.

Transparency log

Release files / pallas_plugin_draw-4.1.15-py3-none-any.whl

Download URL pallas_plugin_draw-4.1.15-py3-none-any.whl
Size 74.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
535a32d35c37e820a02f5c981fff1503deadc593b41076ba9715f8a157a62324
BLAKE2b-256 checksum
How to use checksums
da0b0cdd02648faeccbd47fee54f95ad3337a789a54a316d54203d1f5218a4f9
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 Aug 13, 2026.

Transparency log

Release history Release notifications | RSS feed

4.1.16

2 release files

This release

4.1.15 This release

2 release files

4.1.14

2 release files

4.1.13

2 release files

4.1.12

2 release files

4.1.11

2 release files

4.1.10

2 release files

4.1.9

2 release files

4.1.8

2 release files

4.1.7

2 release files

4.1.6

2 release files

4.1.5

2 release files

4.1.4

2 release files

4.1.3

2 release files

4.1.2

2 release files

4.1.1

2 release files

4.1.0

2 release files

4.0.17

2 release files

4.0.16

2 release files

4.0.15

2 release files

4.0.12

2 release files

4.0.11

2 release files

4.0.10

2 release files

4.0.9

2 release files

4.0.8

2 release files

4.0.7

2 release files

4.0.6

2 release files

4.0.5

2 release files

4.0.4

2 release files

4.0.3

2 release files

4.0.2

2 release files

4.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page