Skip to main content

Pallas-Bot 官方扩展:图像生成网关与画画命令。

Project description

牛牛画画

牛牛画画 pallas-plugin-draw

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

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

安装方式

需已安装 Pallas-Bot ≥ 4.0

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

uv run pallas ext install pallas-plugin-draw

也可单独安装本包:

uv pip install pallas-plugin-draw

怎么使用

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

用户命令

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

命令权限

命令 ID 默认等级
draw.draw everyone

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

配置项

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

完整键:本仓库 config.py

排障

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

实现

源码位置:src/pallas_plugin_draw/

关键文件:

实现要点:

  • 支持纯文本生成与带参考图的改图路径。
  • 结果依赖外部画图网关,失败时以返回文案和连通性为主要事实源。

相关链接

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

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_draw-4.0.10.tar.gz (2.5 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_draw-4.0.10-py3-none-any.whl (62.7 kB view details)

Uploaded Python 3

File details

Details for the file pallas_plugin_draw-4.0.10.tar.gz.

File metadata

  • Download URL: pallas_plugin_draw-4.0.10.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pallas_plugin_draw-4.0.10.tar.gz
Algorithm Hash digest
SHA256 d630819e9b0dfc0d780f435c2261846003e0b2bd03ad17d4e77712ebd278ce4f
MD5 c912e5fb19b39791e1eed8c478d96bda
BLAKE2b-256 63e0d01ca097e7b38f46ee1ef18dfdde4370e992b6519cc07534f4827f5669d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pallas_plugin_draw-4.0.10.tar.gz:

Publisher: publish-pypi.yml on TogetsuDo/pallas-plugin-draw

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_draw-4.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for pallas_plugin_draw-4.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 87fd620cc41a4c5dfe2085fc7ebd992e9f74da5c0e1a2b14347b0c1952873861
MD5 de97c49af8d456e424294bc23080ffdd
BLAKE2b-256 e8a442c5b482e01d38373d8a45e33f8f7642705dbc87e379339b495a4edc9a39

See more details on using hashes here.

Provenance

The following attestation bundles were made for pallas_plugin_draw-4.0.10-py3-none-any.whl:

Publisher: publish-pypi.yml on TogetsuDo/pallas-plugin-draw

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