跳到正文
TakoAPI
返回技能列表

comfy-ui

由 dihan 提供

DevOps & Cloud
446下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Generate high-quality images using a local ComfyUI instance.

描述

该技能的功能

Connects OpenClaw to a locally running ComfyUI instance for image generation. Uses an SDXL workflow by default (Juggernaut XL) and supports custom API JSON workflows. Images are saved locally and generation happens entirely on your own hardware.

All generation runs on your own machine, so prompts and images never leave your network and there are no per-image API costs.

何时使用

  • Generating images privately without sending prompts to cloud services
  • Running custom LoRA or fine-tuned model workflows from a home server
  • Batch-generating concept art using saved workflow JSON files
  • Automating image creation as part of a local agent pipeline
  • Producing high-resolution SDXL outputs on dedicated GPU hardware

示例工作流

输入

User asks: Generate an image of a misty mountain at dawn

智能体
  1. 1

    Reads COMFYUI_SERVER_ADDRESS from environment

  2. 2

    Calls comfy_gen.py with the prompt and server address

  3. 3

    Script connects to ComfyUI via WebSocket/HTTP and queues the prompt

  4. 4

    Waits for generation to complete and downloads the resulting image

  5. 5

    Saves image to image-gens/ folder and returns the file path

输出

Generated image saved locally, file path returned to user

前置要求

  • COMFYUI_SERVER_ADDRESS environment variable (e.g. http://192.168.1.119:8189)
  • ComfyUI installed and running locally with Dev mode enabled

安装

clawhub install dihan/comfy-ui

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接