sbmikoto
MCP Serversbmikotopublic

astrbot_plugin_xiaoxue

让机器人通过聊天方式调用 ComfyUI 工作流完成绘图。

Repository Info

2
Stars
2
Forks
2
Watchers
0
Issues
Python
Language
GNU Affero General Public License v3.0
License

About This Server

让机器人通过聊天方式调用 ComfyUI 工作流完成绘图。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

astrbot_plugin_xiaoxue

本插件的功能是让你的机器人能通过普通聊天一样的方式进行Comfyui工作流调用,完成画图。
最开始是用MCP来实现的,这个是插件版移植版。
似乎不是所有的LLM都可以,目前只测过gemini,claude sonnet4以及deepseek R1 0528有效
特别感谢Duikerzzz的测试

使用方法

插件提供了丰富的设定,配合工作流能实现各种需求。
如果实在搞不懂,也可以通过简单的设定之后,就可以画图。
sample文件夹下有更复杂的配置例子。(sample中的工作流有使用custom node,请自行安装到comfyui)

插件需要手动配置,并重启生效
在"/AstrBot/data/plugins/astrbot_plugin_xiaoxue"里找到配置文件并修改

  • config.yaml
    插件的基础配置文件,里面有各个项目的说明。
    搞不懂的话,可以只配置server_domain和parameters的model参数。

  • workflow_setting.json(data/workflow文件夹下)
    配置传入参数和工作流节点配对的设定文件,搞不懂就用默认的。
    结构是这样的
    {
      "工作流名字(可随意取)":{
        "file": 工作流文件名,
        "node_mapping": [
          "node_number": 工作流节点的编号,
          "node_property": 节点下inputs里需要设定的属性名,
          "input_param": AI传入的参数名(config.yaml里parameters设定的参数)
        ]
      }
    }

    需要随机数请设定input_param为random_seed
    开启图生图之后,需要绑定图片请使用send_image

更新履历

0.0.4 发布版 0.0.5 追加comfy服务器关闭的时候,AI会提示关闭

求助

遇到问题请发issue,或者加群752960286

Quick Start

1

Clone the repository

git clone https://github.com/sbmikoto/astrbot_plugin_xiaoxue
2

Install dependencies

cd astrbot_plugin_xiaoxue
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownersbmikoto
Repoastrbot_plugin_xiaoxue
LanguagePython
LicenseGNU Affero General Public License v3.0
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation